One - One Code All

Blog Content

vi文件操作快速清空

Linux-Mac   2008-01-06 10:11:21

按Esc键切换到命令行模式
:1,$d

将清空整个文件。



上一篇:安装mysql-python 要求装vcpython27
下一篇:VI操作--跳到最后一行和跳到最后一行的最后一个字符

The minute you think of giving up, think of the reason why you held on so long.