vi命令

行号的打开
:set number
行号关闭
:set nonumber

搜索
:/xxx

复制

复制一行 yy
粘贴 p

删除

删除一行 dd

原文地址:https://www.cnblogs.com/liuzz-20180701/p/11510960.html