NAVI // NAVIVIM HANDBOOK

the handbook.

Your in-terminal IDE, from zero to comfortable. Close the world. Open the Wired.

Mirrored from HANDBOOK.md in the NaviVim repo. The repo copy is the source of truth.

Your in-terminal IDE. Close the world. Open the Wired.

New here? This guide takes you from zero to comfortable. Looking for contributor/agent docs instead? See the NaviVim AGENTS.md.

0. The one thing to learn first: <leader>

Almost every shortcut in this book starts with <leader>. That's just a name for a prefix key — and in NaviVim it's the Space bar.

1. First launch

nvim

You'll land on the NaviVim dashboard — the logo boots up line by line, then cycles through the neon palette in celebration of the Wired. From there:

Key What it does
f Find a file by name
e Open the file explorer
g Search text in your project
b Switch between open buffers
t Open a terminal
m Manage language servers (:Mason)
p Manage plugins (:Lazy)
q Quit

Each visit also shows a random tip of the day at the bottom — little shortcuts worth learning one at a time.

On first launch, also run :Mason to install language servers (Python, JavaScript, Rust, Go, C, Lua, and more). Pick what you use — everything else is optional.

2. The sidebar (file explorer)

Key What it does
Ctrl+n Toggle the sidebar
Space e Toggle the sidebar (backup if Ctrl+n is swallowed by tmux)
Space o Jump to your current file in the tree

Inside the tree:

Key What it does
j / k Move up / down
Enter/l Open file / expand folder
h Collapse folder
a Create file / folder
d Delete
r Rename
x c p Cut, copy, paste
R Refresh
? Full help overlay
q Close the sidebar

3. Searching

4. Everyday editing

Key What it does
Ctrl+s / Space w Save
Space q Quit
gcc Comment / uncomment a line (gc works on selections too)
Alt+j / Alt+k Move line / selection down / up
< / > (visual) Indent, staying selected
Space un Toggle relative line numbers

Autocomplete appears as you type in insert mode. Full toggle below.

5. The three toggles

These are the heart of NaviVim — flip behaviors on and off at will:

Key What it does
Space ua Autocomplete on / off
Space uf Format-on-save on / off
Space un Relative line numbers on / off

6. Code intelligence (LSP)

With a language server installed via :Mason, you get:

Key What it does
gd Go to definition
gr Find references
K Hover documentation
Space rn Rename symbol
Space ca Code actions
[d / ]d Previous / next problem

7. Splits, buffers, terminal

8. Git

The gutter shows + added, ~ changed, _ deleted lines.

Key What it does
Space gg Open LazyGit (full UI)
Space gp Preview the hunk under your cursor
Space gb Blame the current line
]h / [h Next / previous change

9. Theme

NaviVim ships with nightshadeNeon — neon pink #ff10f0, neon green #39ff14, cyan #00ffff, neon red #ff3131, white on black. To try something else:

echo "tokyonight" > ~/.config/omaterm/nvim.theme

Delete the file (or write nightshadeNeon into it) to come home.

10. Troubleshooting


Present day. Present time. Happy hacking.