Reminder for the issue <pre><code lang=”“bash”“>error: There was a problem with the editor ‘vi’</code></pre> while trying to save a commit message.

This can be solved by

<code lang=""bash"">$ git config --global core.editor `which vim`</code>

(via http://tooky.github.com/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html)

Some recent changes that might have introduced this “bug” in my setup:

  • Installing a brand new config: spf13-vim
  • Started to use gVim, more especially MacVim