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.
Asked
Active
Viewed 523 times
2
karel
- 122,292
- 133
- 301
- 332
user21493190
- 21
1 Answers
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