vi命令

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

搜索
:/xxx

复制

复制一行 yy
粘贴 p

删除

删除一行 dd

posted @ 2019-09-12 11:25  cabbage-leaf  阅读(113)  评论(0编辑  收藏  举报