a / A |
|
Append Text after character/end of current line |
0 / $ |
|
Move to the beginning/end of current line |
shift +4 |
|
Move to the end of current line |
shift +6 |
|
Move to the beginning of current line(non-whitespace) |
w / b |
|
Move forward or backward(per word) |
num +h /j /k /k |
|
Move forward, backward, up or down(per word/line) |
o / O |
|
Opening a new line(below/above current line) |
dd / d$ |
|
Delete current line/end of current line |
dG |
|
Delete the current line until end of file |
p / P |
|
Paste the cut/copied content before/after cursor |
J |
|
Join two lines(remove end-of-line character) |
:%s/old/new/g |
|
Replace old with new in current file |
:r file.txt |
|
Insert another file into current file(before cursor) |
:w file1.txt |
|
Save current file as file1.txt |