LoginSignup
14
14

More than 5 years have passed since last update.

git で使用するエディタの変更

Last updated at Posted at 2013-12-13
.bash_profile
git config --global core.editor ${editer}

alias で、viをMacVimに変更した結果
git merge でviが起動した時のエラーがでるようになった。
.vimrcが既存のvimでは使えない状態だったのが原因だった。
既存のvimを使う指定から、MacVimを使うように変更してサクッと解決した。

.bash_profile
git config --global core.editor /Applications/MacVim.app/Contents/MacOS/Vim
14
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
14