我在Windows 7上使用Git Bash,设置emacs作为默认文本编辑器时出现问题 - 我尝试过
git config --global core.editor emacs
,然后是git config --global core.editor "'C:/emacs-23.3/bin/runemacs.exe'"
和git config --global core.editor emacsclientw
,但都没有成功。每次我在Bash中输入类似于“emacs README.txt”的命令时,都会显示以下错误:
我已经忍受了这个问题很长时间,通常只是单独打开emacs并打开相关文件,但这一次我真的想正确地设置一下,以便从Git Bash中调用emacs来节省时间。有人知道我该怎么做吗?提前感谢您的帮助。sh.exe": emacs: command not found
git config --global core.editor runemacs
,妙不可言。谢谢:) - anthonytwp