vim操作

1、清空文件( % 是匹配所有行    d 是删除的意思)
:%d

2、粘贴
shift+insert

3、删除某一行
dd

原文地址:https://www.cnblogs.com/libin6505/p/13474045.html