HostOnNet Blog

Install neovim on Ubuntu 16.04

Looking for Linux Server Admin or WordPress Expert? We can help.

NeoVim is improved Vim editor. Vim is a powerful text editor with a big community that is constantly growing.

You can find more about neovim at

https://neovim.io/

To install NeoVim on Ubuntu, run

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim

To set neovim as default, run

sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editor

Posted in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.