Full Byte Developer.

Neovim quick start with a calm modern setup

Install nvim, run Tutor, then copy the official example init.lua before chasing plugin packs.

Published here , updated · 5 sources

Part 2 after Survive any remote box with a Vim quick start. Install Neovim with the official docs, start it with nvim, run :Tutor, then copy the shipped example_init.lua so Lua config stays calm before any plugin pack owns your fingers [2].

Quick start (about five minutes)

Install from the official install page (package, binary, or build from source) [1]. On Linux I used the distribution package on a draft host and got NVIM v0.9.5, Build type: Release from nvim --version. Your line will differ by OS and package channel [1].

bash
nvim --version
nvim

You should see a version banner and a blank buffer or startup screen. If the shell says nvim: command not found, return to the install section for your platform [1].

Inside Neovim, open the built-in tutor [2]:

vim
:Tutor

Finish the first lessons before you chase colorschemes. Normal mode still means navigation and commands, Insert mode means typing, and : opens Ex commands, same mental model as the Vim survival post [5].

Map what loads on startup

Neovim looks for user config under a config directory returned by stdpath('config') [3]. On Unix that is usually ~/.config/nvim/ with init.lua (preferred) or init.vim [3]. Windows uses ~/AppData/Local/nvim/ [3]. Runtime files ship under $VIMRUNTIME inside the install tree [3].

The quickstart tells you to seed init.lua from the shipped example rather than pasting a random dotfiles repo [2] [4].

Copy the official example init.lua

From inside Neovim, the documented one-liner chain creates the config file, reads the example, writes, and restarts [2]:

vim
:exe 'edit' stdpath('config') .. '/init.lua'
:read $VIMRUNTIME/example_init.lua
:write ++p
:restart

You should land in your init.lua with the example contents on disk, then a clean restart [2] [3]. The example on GitHub sets options such as line numbers and search behavior, defines a leader key, and includes an optional vim.pack.add block for third-party plugins [4]. For a calm first week, comment out or delete the vim.pack.add({ ... }) block and keep the core options plus Tutor habits [2] [4]. Plugin managers and "distro" repos can wait until a concrete task needs them [2].

Smoke-test headless and interactive

Neovim supports --headless for scripts that invoke Ex commands without a UI, per the starting docs [3]. A minimal check:

bash
nvim --headless +"quit"
echo "exit=$?"

You should see exit=0. On the same draft host, a broken Ex command prints an error and still exits non-zero if you chain destructive edits without saving. Treat headless mode as proof the binary runs in CI, not as a replacement for Tutor finger memory.

Interactive proof after the example init:

vim
:set number?
:map <leader>t :Tutor<CR>

You should see number set per the example and a Tutor mapping if you left that block in [4].

Add one need at a time

Neovim documentation recommends incremental configuration: understand stock behavior, adjust options, then add plugins when a real friction appears [2]. LazyVim, kickstart.nvim, and similar projects appear on the quickstart page as optional extremes to study, not as mandatory day-one installs [2].

If you already maintain Vim, the from-vim section documents bridging via init.vim that sources ~/.vimrc [2]. That bridge beats copying fifty unrelated GitHub snippets onto a production SSH session.

Lua config can call vim.api and vim.opt directly. LSP and treesitter integrations are first-class in modern Neovim, but you do not need them to edit a remote log file. Match complexity to the machine: a VPS deserves the same discipline as your laptop.

File-type plugins and ftplugin remain optional layers. The example init is enough to edit Markdown, configs, and code with syntax highlighting the runtime already ships.

Plugins without losing the plot

When you do add plugins, Neovim 0.11+ documents vim.pack.add in the example init [4]. Older guides may point to lazy.nvim or packer; pick one manager and read its README. A single colorscheme plus a fuzzy finder is a reasonable second week, not hour one.

Check :checkhealth after major changes. It surfaces broken Python providers, missing rg, and LSP misconfigurations before you blame "Neovim is broken."

Remote editing over SSH still means the editor runs on the server unless you use an embedded workflow elsewhere. Keep init.lua in git so a new box is clone-and-go.

Options to set before plugins

The example init sets vim.opt fields you would otherwise toggle by hand [4]. number and relativenumber change how jumps feel in Normal mode. hlsearch and incsearch pair with noh habits from the Vim post. mouse support may be enabled in the example; on SSH without X forwarding you still benefit from wheel scroll in modern terminals.

:set clipboard=unnamedplus is a common later tweak for system clipboard integration; it is not in the stock example. Add it when you miss yank-to-system, not on minute zero.

Pack paths and runtimepath matter when you vendor plugins manually. Until then, trust $VIMRUNTIME and your single init.lua.

Tutor lessons worth finishing

Tutor lesson 1 covers moving, inserting, and saving. Lesson 2 introduces operators and counts. Skipping past lesson 3 leaves you without sufficient d, c, and y muscle memory. Neovim did not remove these motions; it added Lua configuration on top [2].

If Tutor feels slow, set a fifteen-minute timer. The payoff is quitting broken remote edits without reinstalling another editor.

Version lines and upgrades

Package managers ship Neovim on different schedules [1]. Debian stable may trail Neovim nightlies; Homebrew may be newer. Read :help news after upgrades for breaking changes. LSP refactors moved across minor versions in the 0.9 to 0.10 era; your config should stay boring until release notes say otherwise.

Common mistakes and misconceptions

Installing a full "Neovim distro" before you can quit Insert mode with Esc and save with :w.

Treating init.vim and init.lua as interchangeable dual entry points. Pick one main file per the starting docs [3].

Copying a YouTube config that assumes macOS paths onto a Linux server.

Expecting Neovim to install language servers automatically. LSP servers are separate binaries you enable when a project needs them.

You do not have to switch from Vim to Neovim overnight. The fork targets compatibility where possible [2].

Skipping :Tutor because you "already know VS Code." Modal editing is a different contract.

Skip a week of plugin thrash. Run :Tutor once on a clean buffer, copy $VIMRUNTIME/example_init.lua into stdpath('config'), and quit with :qa before you install anything else [2] [4]. If the only editor you can count on over SSH is classic Vim, keep Vim quick start for remote boxes bookmarked; for stuck tty and job-control states around the shell that launched nvim, essential Linux commands part 1 covers the recovery moves. For finding files and text from the shell beside that editor, see finding things with find, fd, and rg.

Send this to the friend who installs twelve plugins before running :Tutor once.

Abstract illustration of a dark code-editor window with an orange start block flowing into a teal flowchart of bars and nodes, floating cubes around the frame, no people and no readable UI text.
Calm editor path: one bright start block, then a short teal config flow instead of a plugin sprawl.

Keep this guide

By Full Byte Developer

Filed under Dev tools, Dev explainers

Questions about this guide

Is the command neovim or nvim?

Neovim's install docs say you start it with nvim, not neovim.

Should I install LazyVim or kickstart on day one?

Neovim's quickstart page lists popular packs as optional demos and recommends learning the stock config first, then adding options and plugins as you need them. Prefer example_init.lua.

Where does init.lua live?

On Unix, Neovim looks for ~/.config/nvim/init.lua (or init.vim). Windows uses ~/AppData/Local/nvim/. You may use Lua or Vimscript, not both as the main file.

I already know Vim. What changes?

Neovim docs say it is a fork of Vim with compatibility where possible. The from-vim section shows how to load an existing ~/.vimrc through init.vim if you want a bridge.

Do I need a GUI build?

No for servers. The install page lists terminal builds for Linux, macOS, and Windows. GUI flavors are optional.

Sources

Next in this stack