vim commond

来源:互联网 发布:淘宝怎么免单 编辑:程序博客网 时间:2024/06/05 22:50

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

0 0
原创粉丝点击