I would prefer to write my commit messages in Vim, but it is opening them in Emacs.
How do I configure Git to always use Vim? Note that I want to do this globally,
When using git-review
I had to modify sequence.editor
value to be able to do interactive rebase (git rebase -i -p
):
git config --global sequence.editor "gvim" # or whatever your prefer
gvim
require: apt install vim-gtk