vim delete

x - delete current character
dw - delete current word
dd - delete current line
5dd - delete five lines

d$ - delete to end of line
d0 - delete to beginning of line

:1,.d
delete to beginning of file

:.,$d
delete to end of file

posted @ 2016-10-29 14:15  chenqiangzhishen  阅读(118)  评论(0编辑  收藏  举报