Skip to content
BENIBIX Learn

Vim vs Neovim

People think Neovim is a new editor with its own keys, and it is not. It was built from Vim's code, so the modes and keys are the same, and a Vim user feels at home. What changed is the setup. Neovim reads a short script in a file called init.lua, and it talks to language tools for hints and errors.

Development🛠️ Editors & Tools

Vim

A free editor that runs in a terminal. You work it with keys, not a mouse.

Vim is a free text editor that runs inside a terminal. It is an improved copy of vi, an older editor found on most Unix systems. Vim has modes. In normal mode, each key is a command, so dd deletes a line. In insert mode, keys type text as in any editor. You never need the mouse, so practised users edit very fast.

Example
Jack logs in to a server to fix one setting. The server has no window apps, so he opens the file in Vim, changes the line and saves.
Why it matters
It is there on almost every server. Knowing a few keys means you can fix a file anywhere, with no other app.
Full entry
Development🛠️ Editors & Tools

Neovim

A newer editor built from Vim. Same keys, but you set it up with Lua.

Neovim is a free text editor built from Vim and kept close to it. The keys and modes work the same, so a Vim user feels at home. The big change is that Lua, a small coding language, is built in. You set it up in a file called init.lua, and add-ons are written in Lua too. It also has a built-in way to talk to language tools for hints and errors.

Example
Emma moves from Vim to Neovim. Her keys all still work, and she rewrites her settings as a short init.lua file.
Why it matters
It keeps the speed of Vim keys but makes the editor easy to grow. Most new add-ons for this family are written for it.
Full entry

In one line

Vim
A free editor that runs in a terminal. You work it with keys, not a mouse.
Neovim
A newer editor built from Vim. Same keys, but you set it up with Lua.