Question

I'm using git config --global core.editor "mate -w" when using textmate. How do I set it to scite? I am not sure what -w or -f means. Thanks!

Was it helpful?

Solution

-w is a command line option, see mate --help what it means. You can probably just use git config --global core.editor "scite", check scite --help for any options.

OTHER TIPS

I just set the editor like the following and it worked fine:

git config --global core.editor "'C:/Program Files (x86)/Scintilla Text Editor/scite.exe'"

On another machine I had to change the path:

$ git config --global core.editor "'C:/Program Files (x86)/SciTE/scite.exe'"

Textmate has a command line helper program called mate which is installed in your path. This line in config says run that program (which runs TextMate), and the -w flag means wait for the file to be closed before carrying on.

For Scite - it may have a command line tool and a flag that lets it behave the same way.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top