×


Install NeoVim Editor on Ubuntu 22.04 (Jammy Jellyfish) - Step by step guide ?



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.


Steps to install Neovim text editor on Ubuntu 22.04 (Jammy Jellyfish) 

1. Perform System Update

To begin, run the below command to update the system packages:

$ sudo apt update


2. Install Neovim Editor on the the system

Run the below command to install Neovim:

$ sudo apt install neovim


3. Verify Neovim Installation

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.


4. Launch Neovim 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.


Some Important Neovim Key Bindings

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:

  • Use the cursor keys to move around or use the following shortcuts to navigate.
  • To go left, you will need to use "h"
  • To go down, "j" is used as standard.
  • To go up, the only key is "k" to use.
  • To go right, the "l" key is used to navigate.


How to Update / Upgrade Neovim on Ubuntu ?

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


How to Uninstall Neovim Editor From Ubuntu 22.04 ?

You can run the below command to remove Neovim Editor From Ubuntu :

$ sudo apt remove neovim


[Need help in fixing Linux system issues ? We can help you. ]


Conclusion

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! 


More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com