Last Updated: February 25, 2016
·
9.565K
· 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 ·