. |
Repeat last command |
x |
Delete at cursor |
dd |
Delete line |
d$ |
Delete from cusor to end of line |
db |
Delete from cusor back to begining of word |
dw |
Delete word if cusor at the begining of word |
daw |
Delete a word |
yy |
Copy |
p |
Paste |
j |
Down |
k |
Up |
h |
Left |
l |
Right |
b |
Move to begining of word |
$ |
Move to end of line |
^ |
Move to begining of line |
gg |
Move to begining of file |
A |
Move to end of line and turn to edit mode A = $a |
f{char} |
Search {char} |
; |
Find forward |
, |
Find backward |
/pattern |
Search pattern in file |
n |
Search next pattern in file |
N |
Search previous pattern in file |
cW |
delete word |