Vim is the main modern project under active development. vi is the original software from old UNIX. On most Linux nowadays, vi opens vim in vi emulation mode.
vi is basically gonna be on every Linux based machine until the end of time. Nano usually needs to be installed, which in corpo environments, you may not have the ability to do that. I made my peace with vim for sysadmin stuff or simple changes like editing yaml files. Vi also has some pretty good features out of the box which are good to learn.
Which one is consistently good though
Vim is the main modern project under active development. vi is the original software from old UNIX. On most Linux nowadays, vi opens vim in vi emulation mode.
vi is basically gonna be on every Linux based machine until the end of time. Nano usually needs to be installed, which in corpo environments, you may not have the ability to do that. I made my peace with vim for sysadmin stuff or simple changes like editing yaml files. Vi also has some pretty good features out of the box which are good to learn.
I was about to resign myself to vi but then I learned that in Emacs you can use tramp to remotely edit files.
So now I can use my configured preferences for emacs on any online server which includes the vi keybindings via evil-mode.
vim scp://user@myserver[:port]//path/to/file.txt
can also accomplish this in vim, FWIW.