I want to edit svn's
svn propedit svn:ignore .
This doesn't work:
None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found
So I go and set my
EDITOR variable to
sublime_text (already in my path), restart Powershell, and repeat, but it immediately tells me that:
No changes to property 'svn:ignore' on '.'
That looks like the shell's expecting a synchronous response while the Sublime Text instance wasn't blocking, so I apply the
--wait shorthand (
-w) to the environment variable:
But then neither saving the file nor closing it return STDOUT to the shell — the shell just hangs and becomes completely unresponsive as soon as Sublime Text receives the STDIN:
Ctrl + C,
Esc, nothing works.
I wondered whether this might have to do with the fact that the STDIN is passed in to whatever instance of Sublime Text is already running, so I add the
--new-window shorthand, (
n) to the parameters, leaving me with
sublime_text -wn. This doesn't change the behaviour.