🛠️Neovim
Also known as nvim, Neo Vim
A newer editor built from Vim. Same keys, but you set it up with Lua.
Think of it like
It is like a new bike built from an old one. It rides the same, but has new parts.
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.
Definition
Example code
lua
-- init.lua, in the folder :echo stdpath('config') shows
vim.opt.number = true
vim.opt.tabstop = 4Common mistake
Key takeaways
- 1Vim at heart. The same keys and the same modes.
- 2Lua inside. Settings and add-ons are written in Lua.
- 3Language help. It can ask language tools for hints.