h l k j | left, right, line up, down |
b w | word left, right |
^ $ | first, last character of line |
(n)G (n)gg | line n, default the last, first |
i a | insert before, after cursor |
I A | insert at beginning, end of line |
o O | open a new line below, above the current line |
R | eeplace characters starting at the cursor |
x X | delete character under, before cursor |
d(m) | delete text of movement command m |
dd D | delete current line, to the end of line |
J | join current line with next |
y(m) | yank the text of movement command m |
yy or Y | yank current line into register |
p P | put register after, before cursor position |
u U | undo last command, restore last changed line |
/s ?s | search forward, backward for s |
n or / | repeat forward last search |
N or ? | repeat backward last search |