[整理]修改git 默认编辑器为vim

git config --global core.editor vim
原文地址:https://www.cnblogs.com/everfight/p/git_editor_vim.html