Skip to main content

Command Palette

Search for a command to run...

git commit opened editor lost typing

Published
1 min read

Setup my new laptop, when I run git commit, vi will pop up, but when I typing the commit messages, letters constantly get lost.

To solve it, just change the default editor to vim:

$ git config --global core.editor /usr/bin/vim