Windows 11 Python 3.12.5 EASY Newbie Question #5496
-
I can’t figure out how to set the default editor to “C:\Program Files\Notepad++\notepad++.exe” When I run: I get a similar error running edit plug-in: The edit plug-in says “Your text editor (i.e., the command in your $VISUAL or $EDITOR environment variable)” but for the life of me I cannot find where to set these environment variables. I’ve also installed PyCharm Community since I’m assuming I’ll want to use it for $VISUAL FWIW beets is AWESOME - I have successfully imported most of my music: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In your DOS prompt try
If that works add it to a In edit $profile I use VSCODE so i type add the following line
To work around spaces in the filepath, you need the special |
Beta Was this translation helpful? Give feedback.
-
That worked, thank you |
Beta Was this translation helpful? Give feedback.
In your DOS prompt try
set EDITOR="C:\Program Files\Notepad++\notepad++.exe"
If that works add it to a
.bat
or.cmd
file that you can call before you start beets.In
POWERSHELL/PWSH
edit $profile I use VSCODE so i type
code $profile
add the following line
$env:EDITOR = &'C:\Program Files\Notepad++\notepad++.exe'
To work around spaces in the filepath, you need the special
&
style. I might have it wrong so google is your friend forPOWERSHELL/PWSH