Skip to content

Instantly share code, notes, and snippets.

@sathishmanohar
Created May 28, 2012 09:20
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 sathishmanohar/2818108 to your computer and use it in GitHub Desktop.
Save sathishmanohar/2818108 to your computer and use it in GitHub Desktop.
Set Default Shell Editors to VIM
# Check Present editors
echo $GIT_EDITOR $VISUAL $EDITOR
# Now set all editors to VIM
export GIT_EDITOR=vim
export EDITOR=vim
export VISUAL=vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment