The real advantage of Neovim isn’t raw speed — it’s that it exists on every server and your hands never leave the home row. If you edit files over SSH regularly, the basics alone pay for themselves.

Install

  brew install neovim
sudo apt install neovim
winget install Neovim.Neovim
  

Survival commands

First, remove the possibility of being trapped in it.

CommandAction
EscBack to normal mode (when in doubt, start here)
i / aInsert before / after the cursor
:wSave
:qQuit
:wq or ZZSave and quit
:q!Quit, discarding changes

Moving and editing

KeyAction
h j k lLeft, down, up, right
w / bNext / previous word
0 / $Start / end of line
gg / GStart / end of file
{n}GGo to line n
dd / yy / pDelete / yank / paste a line
u / Ctrl+rUndo / redo
/text then nSearch, then next match
:%s/old/new/gReplace throughout the file

Vim’s grammar is verb + object. d (delete) + w (word) is dw; c (change) + i" (inside quotes) is ci". Once that composition clicks, there is far less to memorise.

Starting a config

~/.config/nvim/init.lua:

  vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.expandtab = true
vim.opt.shiftwidth = 2
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.clipboard = "unnamedplus"   -- share the system clipboard
vim.g.mapleader = " "               -- space as the leader key

vim.keymap.set("n", "<leader>w", ":w<CR>")
vim.keymap.set("n", "<leader>e", ":Explore<CR>")
  

Starting from a distribution

If choosing plugins yourself sounds like a chore, start from a finished configuration.

DistributionCharacter
LazyVimBalanced defaults, friendly documentation
kickstart.nvimOne heavily commented file. The best one to learn from
AstroNvimFeature-rich with a polished UI
  git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
nvim
  

A learning path

  1. Run vimtutor in a terminal, start to finish (about 30 minutes).
  2. For one week, edit only your config files in Neovim.
  3. Once comfortable, turn on a Vim extension in VS Code and live in both worlds.

Switching your main editor in one go almost always fails. Start with small files.

Next

If you refactor large projects often → JetBrains IDEs

Last updated 19 Aug 2026, 00:00 UTC. history