How To Install Vim on Ubuntu/Mint

Vim is an advanced text editor which provides the power of Unix editor “Vi”, but more completed and with more features. Vim is created to provide efficient text editing. 

Vim is called “programmer’s editor” because a lot of programmers use it. It is perfect for any kind of text editing. In my experience, a majority of Python programmers prefer Vim.

For beginners, Vim needs some time to learn. It isn’t like other text editors that you install them and start working. But after you learn Vim, you are equipped with a set of useful tools.

Vim’s license is GPL-compatible, so it’s distributed freely. In 2006, Vim was voted the most popular editor amongst Linux Journal readers.

I like this text editor because it’s interface is not based on menus or icons but on commands given in a text user interface. It also has a GUI mode, gVIM, which adds menus and toolbars for commonly used commands. But if you need to feel the full experience of Vim, I suggest using it through its command line mode.

A strong point of Vim is that is can be extensively customized. Users can define personalized key mappings which are called macros or abbreviations to automate sequences of keystrokes.

There are a lot of plugins out there that will extend the functionality of Vim. Most of these scripts are written in Vim’s internal scripting language called vimscript. 

Vim has a Vi compatibility mode but is better to use in its normal mode because it offers more features.

How To Install

Run these commands to install Vim on Ubuntu/Mint:

install vim on ubuntu