Using notepad++ in windows when using the --editor switch #213
Crazzzme
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"I found a way to use Notepad++ as an editor when using Windows. Setting the $env:EDITOR to Notepad++ will not work, as Notepad++ starts asynchronously when launched from the command line. If you set it using the following env variable it will open a document in Notepad++ and wait for you to enter a prompt. After you save and exit, shell-gpt will continue as normal. The command is:
$env:EDITOR = "start -Wait -FilePath notepad++.exe -ArgumentList"
Beta Was this translation helpful? Give feedback.
All reactions