Using MacVim as git editor April 9, 2012·24 words·1 min Programming Git Vim Osx Table of Contents Add this to .bashrc Table of Contents Add this to .bashrc Add this to .bashrc # export GIT_EDITOR=’/Applications/MacVim.app/Contents/MacOS/Vim -g -f ' The key is -f, without it git will abort because of empty commit message.