How can I change the core.editor of Git to start a program such as Smultron?
All I can find are examples for terminal editors or TextMate.
How can I change the core.editor of Git to start a program such as Smultron?
All I can find are examples for terminal editors or TextMate.
You only see terminal and TextMate examples because TextMate provides a terminal program to interface with it from the command line. If Smultron provides a similar program, you can use it the same way you use "mate." If not, then you can't make Smultron work with core.editor.
You can open a file in Smultron with open
Example
git config core.editor "open -nW -a Smultron"
EDIT
Added the -nW
parameters to have a new Smultron open and wait for it to close