Tutorials

How to fix problem with the editor ‘vi’

:: git error with vi

error: There was a problem with the editor 'vi'

 

:: how to fix the problem
0. check path for vim

$ which vim
/usr/local/bin/vim

1. set core.editor to vim in git

$ git config --global core.editor /usr/local/bin/vim

:: links
+ Google
+ Tooky

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *