vi delete all lines

1. go to the first line

    : 1

2. : .,$ del

 

.代表当前光标所在行

$代表最末行

用,分隔

posted @ 2012-03-21 15:35  alxe_yu  阅读(419)  评论(0编辑  收藏  举报