Keybindings Reference
Complete list of Vim keybindings supported by ovim's In-Place Mode.
Mode switching
| Key | Action |
|---|---|
Esc | Return to Normal mode |
i / I | Insert at cursor / line start |
a / A | Append after cursor / line end |
o / O | Open line below / above |
v | Enter Visual mode |
s / S | Substitute character / line |
Motions
| Key | Action |
|---|---|
h j k l | Left, down, up, right |
w / b / e | Word forward / backward / end |
0 / $ | Line start / end |
{ / } | Paragraph up / down |
gg / G | Document start / end |
Ctrl+u / Ctrl+d | Half page up / down |
Operators
Operators combine with motions and text objects. For example:
dw- delete wordy$- yank to line endciw- change inner word
| Key | Action |
|---|---|
d | Delete |
y | Yank (copy) |
c | Change (delete + insert) |
Text objects
| Key | Action |
|---|---|
iw / aw | Inner word / around word |
Commands
| Key | Action |
|---|---|
x / X | Delete char under / before cursor |
D / C / Y | Delete / change / yank to line end |
dd / yy / cc | Delete / yank / change line |
J | Join lines |
p / P | Paste after / before cursor |
u / Ctrl+r | Undo / redo |
>> / << | Indent / outdent line |
Counts
Prefix any command with a number to repeat it. Examples:
| Key | Action |
|---|---|
5j | Move down 5 lines |
3dw | Delete 3 words |
10x | Delete 10 characters |
2dd | Delete 2 lines |