2

I use Ubuntu with the zsh shell, and when I try to open vim with the vi or vim command it opens neovim instead. I tried using the original bash shell, but it still didn't work. I tried sudo update-alternatives --config vi but it didn't work either.

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

1

Try by using update-alternatives that let you choose which command to run among the alternatives:

sudo update-alternatives --config vi
Marco
  • 11
  • 4