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

$ git commit時に開くエディタは、以下のコマンドで指定できる。

$ git config --global core.editor vim

参考

Git - Git の設定