This article covers how to install vim, followed by some basics on using vim and then uninstalling it. Vim (Vi IMproved) is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing config files and programs written in shell, python, perl, c/c++ and more.
Among the various text editors in the world of Linux, Vim (or Vi IMproved) stands out for its versatility and for the functions it offers. In fact, Vim is able to speed up code writing, providing some shortcuts to perform all the operations of modification, deletion or replacement of the text.
Vim Text Editor also allows you to install different plugins through which transforming this simple text editor into a real IDE for programming in different languages.
How to Install vim using apt on Linux ?
1. Open terminal application. You can also press CTRL+ALT+T keyboard shortcut.
2. Update package database by typing the sudo apt update command.
3. Search for vim packages run: sudo apt search vim.
4. Install vim on Ubuntu Linux, type: sudo apt install vim.
5. Verify vim installation by typing the vim --version command.