Neovim

Author

John Robin Inston

Published

September 25, 2026

1 Neo-Tree Commands

Key Action
a Create file (add / at end for a directory)
d Delete file
r Rename file
y Copy file
x Cut file
p Paste file
? Show all keybindings

2 Iron Commands (Python Code)

Key Action
<Space>sc Send motion or visual selection
<Space>sl Send current line
<Space>sf Send entire file
<Space>s<Space> Interrupt (Ctrl+C)
<Space>sq Exit/close REPL
<Space>cl Clear REPL

3 Document Writing

Modes

Key Action
i Insert mode (before cursor)
a Insert mode (after cursor)
I Insert at beginning of line
A Insert at end of line
v Visual mode (character select)
V Visual line mode
Ctrl+v Visual block mode
Esc Back to normal mode

Navigation

Key Action
h j k l Left, down, up, right
w / b Next / previous word
0 / $ Start / end of line
gg / G Top / bottom of file
Ctrl+d / Ctrl+u Half page down / up
{ / } Jump paragraph up / down

Editing

Key Action
x Delete character
dd Delete line
yy Copy (yank) line
p / P Paste after / before
u Undo
Ctrl+r Redo
ciw Change inner word
di" Delete inside quotes
o / O New line below / above

Search & Replace

Key Action
/pattern Search forward
?pattern Search backward
n / N Next / previous match
:%s/old/new/g Replace all in file
* Search word under cursor

Saving & Quitting

Key Action
:w Save
:q Quit
:wq Save and quit
:q! Force quit without saving
ZZ Save and quit (shorthand)
Back to top