I’d like to see a “-z” command line switch that would allow Sublime Text to replace notepad.exe on windows machines.
Programmers Notepad blog explains this method
( untidy.net/blog/2009/11/03/repla … n-options/ ):
This way we can do this to register Sublime Text as a Notepad.exe replacement;
reg.bat in sublime program folder:
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Debugger" /t REG_SZ /d "\"%~dp0sublimetext.exe\" -z" /f
Thanks.