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


Hey 👋
Would you like to know what we do?
  • Dirask is online IT community for professionals and hobbyist to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.