Set commit message editor Git's text editor can be set under the "core.editor" setting: $ git config --global core.editor "vim"