Fix a bug with vim and git on Mac OS X

* first comment on
  http://tooky.co.uk/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html