Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDITOR variable doesn't work with paths that have spaces. #4

Open
baileyn opened this issue Jul 14, 2015 · 1 comment
Open

EDITOR variable doesn't work with paths that have spaces. #4

baileyn opened this issue Jul 14, 2015 · 1 comment

Comments

@baileyn
Copy link
Contributor

baileyn commented Jul 14, 2015

Setting the EDITOR environmental variable to something along the lines of C:\Program Files\Sublime Text 3\subl.exe doesn't work. I think it would work correctly with a path that doesn't contain spaces.

Also, I believe that it would be better to put the default editor for windows as notepad.exe Since it will always be available from the command line, but subl.exe would only be available if it's in the PATH.

@hugows
Copy link
Owner

hugows commented Jul 14, 2015

Right, maybe I could have subl the default only when it exists (Sublime Text 3 finally introduced this command so we don't have to create hacky subl.bat).

I have to understand spaces on windwos better, as I'm having several problems with it. Thanks for opening the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants