Last Updated: February 25, 2016
·
9.596K
· revathskumar

set vim as default editor for git

git config --global core.editor vim

1 Response
Add your response

If you add export EDITOR=vim to your .bashrc pretty much all programs, git included, will use vim as the default editor...

over 1 year ago ·