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>


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