git commit時のエディタをvimにする


git commit時にnanoが開くのは嫌だ

nanoではなくviで編集したい

これを実行するだけ

$ git config --global core.editor vim

参考
git commitで使用するエディタを指定する