Keybindings Reference

Complete list of Vim keybindings supported by ovim's In-Place Mode.

Mode switching

KeyAction
EscReturn to Normal mode
i / IInsert at cursor / line start
a / AAppend after cursor / line end
o / OOpen line below / above
vEnter Visual mode
s / SSubstitute character / line

Motions

KeyAction
h j k lLeft, down, up, right
w / b / eWord forward / backward / end
0 / $Line start / end
{ / }Paragraph up / down
gg / GDocument start / end
Ctrl+u / Ctrl+dHalf page up / down

Operators

Operators combine with motions and text objects. For example:

  • dw - delete word
  • y$ - yank to line end
  • ciw - change inner word
KeyAction
dDelete
yYank (copy)
cChange (delete + insert)

Text objects

KeyAction
iw / awInner word / around word

Commands

KeyAction
x / XDelete char under / before cursor
D / C / YDelete / change / yank to line end
dd / yy / ccDelete / yank / change line
JJoin lines
p / PPaste after / before cursor
u / Ctrl+rUndo / redo
>> / <<Indent / outdent line

Counts

Prefix any command with a number to repeat it. Examples:

KeyAction
5jMove down 5 lines
3dwDelete 3 words
10xDelete 10 characters
2ddDelete 2 lines