I would prefer to write my commit messages in Vim, but it is opening them in Emacs.
How do I configure Git to always use Vim? Note that I want to do this globally,
Like all the other GUI applications, you have to launch mvim with the wait flag.
git config --global core.editor "mvim --remote-wait"