Trying to install Far-manager as an editor for commits in Git:
git config --global core.editor "'C:/Program Files/Far Manager/Far.exe' -e" After git commit , an empty line appears, where you can enter text, Enter takes the cursor pointer to a new line, but how to send the printed text as a comment to the commit? Exit from the "empty line" is obtained only by pressing Ctrl + C, after which, of course, the commit is not executed.
I work in git bash in Windows 8 (Git for Windows).
Upd : Checked command launch from cmd.exe:
> "C: / Program Files / Far Manager / Far.exe" -e Readme.txt
Everything works fine: the lights are started in the file editing mode, after pressing F2, the changes are recorded.
Checked the same from git bash:
$ "C: / Program Files / Far Manager / Far.exe" -e Readme.txt
The cursor is lowered by one line, blinking, you can write text, only save changes at least somewhere, only Ctrl + C helps