vim commond

undo: u
paste: ctrl shift v
delete cursor to the word end: dw
delete to the end line: D
delete the line : dd
moves the cursor to the first non-blank character of a line:^
always moves the cursor to the “first column”: 0

i - insert before the cursor
I - insert at the beginning of the line
a - insert (append) after the cursor
A - insert (append) at the end of the line

光标所在行,dd
光标所在行以下的N行,Ndd

你可能感兴趣的:(vim commond)