Git提交时默认编辑器Vim换成Notepad++

在使用GIT进行commit时,会默认使用Vim,其使用较为笨重,改为Notepad++编辑器较为简便。

 

git commit 默认打开Notepad++编辑器配置

  

  打开git --- bash,输入命令行:git config --global core.editor "'D:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

 

  ps:  D:/Program Files/Notepad++/notepad++.exe  为notepad++的安装路径。

posted @ 2020-07-22 11:32  缓下脚步  阅读(1104)  评论(0)    收藏  举报