Neovim is an extendable Vim based text editor. It is unique in a sense that it works flawlessly on major Linux distributions. It can be extended using plugins and APIs. It can also be hosted on cloud for the team work. It is compatible with Vim editing model and Vimscript.
Neovim is 30% lighter than regular Vim. It comes with an excellent modern interface. Neovim has a built-in terminal emulator for efficient work.
Here at LinuxAPT, we shall look into the installation of Neovim on Ubuntu 22.04 system.
To begin, run the below command to update the system packages:
$ sudo apt update
Run the below command to install Neovim:
$ sudo apt install neovim
Neovim is a command-line and GUI-based text editor. Therefore it can be accessed via both the command line user interface and the dashboard. We will verify the presence of Neovim now using the dashboard. Neovim tries their best to keep the less use of CLI.
Once searched successfully we can launch the editor.
You can use your terminal to run the following command:
$ neovim
Alternatively, you can launch it from the terminal and send it to the background to keep using the terminal instance using the following.
$ neovim &
For desktop users, find the icon application and possibly add it to your favorites.
The location path can be found in Activities > Show Applications > Neovim.
Once open, you will see the default landing screen. For users new to VIM and Neovim, we would strongly recommend checking out Neovim's documentation which is quite extensive and without being overly complicated.
As Neovim is based on vim, it has similar key bindings. We will discuss some important keys here to make it easier for you when running Neovim for the first time:
Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless of the following command to check for updates:
$ sudo apt update
You can run the below command to remove Neovim Editor From Ubuntu :
$ sudo apt remove neovim
This article covers how to install and remove the Neovim. In fact, Neovim is a hyperextensible platform that seeks to maximize usability with extensibility in mind; it also simplifies maintenance by encouraging contributions from others who work on this project!