This might sound like an idiotic question. I would appreciate it if someone can let a newbie know what the differences are between "vi" and "vim". I've heard vim is a successor to vi but whenever I try to open vi in Ubuntu it opens vim instead.
Functionally, vim is almost a proper superset of vi. Therefore, everything that is in vi is available in vim.
Vim adds onto those features. Here are a some of the extended vim features:
There are many more differences. Refer below sources which are few of good places to start finding out more.
Hope it helps! :)
"vi" is an text editor from the early days of Unix. It became quite popular and made its way into the Single Unix Specification (SUS) and POSIX, but wasn't freely available (until 2002).
So several free vi-like editors emerged. Vim (" vi improved") is one of this editors. As the name suggest it adds lot of functions to the original vi interface.
In Ubuntu Vim is the only vi-like editor installed by default, and so
Other popular vi-like editors available in Ubuntu are for example