LoginSignup
49
20

More than 3 years have passed since last update.

[備忘録]vimをgitのエディタのdefault設定に

Posted at

やったこと

3回くらい調べちゃったので書いておく

$ git config --global core.editor vim

bash -> zsh乗り換え時にdefaultのエディタがnanoになるので、慣れたvimを使いたい時のおまじない。
設定値は~/.gitconfigファイルに設定されています。

[core]
    editor = vim

参考記事

【Git】commitメッセージなど、デフォルトのテキストエディタを変更する

49
20
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
49
20