Linux - how to change git editor from vi to vim?

4 points
Created by:

Hi, today I would like to share with you a quick solution how to change git editor from vi to vim.

We can set new editor by using git config.

Entire working command:

git config --global core.editor vim


Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.


Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂