Skip to content

Instantly share code, notes, and snippets.

@benwoodward
Created February 27, 2012 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benwoodward/1924753 to your computer and use it in GitHub Desktop.
Save benwoodward/1924753 to your computer and use it in GitHub Desktop.
Use MacVim as default EDITOR with Git on iTerm command line
export EDITOR='mvim -f --nomru -c "au VimLeave * !open -a iTerm"'
@benwoodward
Copy link
Author

the following in ~/.gitconfig also works

[core]
  ignorecase = false
    ;editor = mate -w
  editor = mvim -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment