Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install Latest Vim Editor in Linux Systems - DesignLinux

Jan 19 2021
designlinux 0 Comments

Vi has been around for a long, developed around 1976, it offered users traditional yet powerful features such as an effective editing interface, terminal control, and many more.

However, it lacked certain captivating features for example multiple screens, syntax highlighting, multiple undo functionality, and so on, that many Unix/Linux users were looking for in a complete text editor.

Related Read: 21 Best Open Source Text Editors (GUI + CLI) for Linux

Therefore, Vim (Vi Improved) was developed to bring users a fully-featured, advanced, and complete text editor. Vim is a powerful, highly configurable, popular, and cross-platform text editor that runs on Unix-like systems such as Linux, OS X, Solaris, *BSD, and MS-Windows.

It is feature-rich and highly-extensible as well, using several community developed plugins, you can turn Vim into more than a simple text editor using vim tricks and tips.

Vim Features

A number of its notable features include:

  1. Persistent, multi-level undo tree
  2. Supports multiple screens
  3. Highly extensible using multiple plugins
  4. Offers users a powerful and reliable search tool
  5. Supports several programming languages and file formats
  6. Supports and integrates with numerous tools and many more

Ten years since major changes were made to Vim, a new and improved release, Vim 8.2 is now out as in this announcement. It comes with some important improvements, several bug fixes, and new features as listed below:

Related Read: 8 Interesting ‘Vi/Vim’ Editor Tips and Tricks for Every Linux Administrator

New Features in Vim 8.2

  1. Jobs
  2. Asynchronous I/O support, channels, JSON
  3. Timers
  4. Supports partials, lambdas, and closures
  5. Enables new style testing
  6. Viminfo merged by timestamp
  7. Supports GTK+3
  8. Support for MS-Windows DirectX

How To Install Vim Editor in Linux Systems

In most modern Linux distributions, you can install Vim editor from the default repositories using the package manager, but the available version you will get is a little older.

$ sudo apt install vim     [On Debian, Ubuntu and Mint]
$ sudo dnf install vim     [On RHEL, CentOS and Fedora]
$ sudo pacman -S vim       [On Arch Linux and Manjaro]
$ sudo zypper install vim  [On OpenSuse]

Although Vim 8.2 is out, it will take a good amount of time before it gets into official software repositories for the different Linux distributions.

Luckily, users of Ubuntu and Mint and its derivatives can use the unofficial and untrusted PPA to install it as shown.

$ sudo add-apt-repository ppa:jonathonf/vim
$ sudo apt update
$ sudo apt install vim

After installation, you can launch vim from the command line and view information about it as shown:

$ vim
Running Vim 8.0 in Ubuntu 16.04
Running Vim 8.0 in Ubuntu 16.04

To uninstall it and move back to the older version in the Ubuntu repository, run the following commands to purge the PPA:

$ sudo apt install ppa-purge
$ sudo ppa-purge ppa:jonathonf/vim

Compiling Vim from Sources in Linux

For other Linux distributions, it will take some time to include it into official software repositories, but you can try the latest Vim 8.0 by compiling it from the source on your own as shown.

On Debian/Ubuntu and Mint

$ sudo apt install ncurses-dev
$ wget https://github.com/vim/vim/archive/master.zip	
$ unzip master.zip
$ cd vim-master
$ cd src/
$ ./configure
$ make
$ sudo make install
$ vim 

On RHEL/CentOS and Fedora

# yum  install  ncurses-devel
# wget https://github.com/vim/vim/archive/master.zip	
# unzip master.zip
# cd vim-master
# cd src/
# ./configure
# make
# sudo make install
# vim

Arch users can install the latest Vim using pacman as shown:

# pacman -S vim

For other Linux distributions, you can download and build it on your own:

Download Vim 8.2

Last but not least, if you have installed Vim, try it out and get back to us by using the feedback section below. Make any suggestions or share your experience with us and much more. We shall be delighted to get vital remarks from you.

Related

Tags: vim editor, Vim Tips

23 Best Open Source Text Editors (GUI + CLI) in 2021

Prev Post

How to Co-author Documents in Linux with ONLYOFFICE Docs

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 236
  • 653,330

DesignLinux.com © All rights reserved

Go to mobile version