Skip to content
Home » How to set vim as a default Git editor

How to set vim as a default Git editor

To set vim as a default Git editor then use the git config command which helps you to configure the default Git editor. The command to set vim as a default Git editor is as follows:

git config --global core.editor "vim"

Also Read:

Git config vscode