查找::/查找内容
:/?
复制:yy
复制十行:10yy
撤销: u
粘贴:p
删除:dd
替换(举例hello和hi)
替换一个 s/hello/hi
替换一行 s/hello/hi/g
替换5到9行: 5,9s/hello/hi/g
全文替换: %s/hello/hi/g
将3到13行另存为hello.c : 3,13 w hello.c
读入demo.c r demo.c
查看当前编辑文件: :files
跳到hello.c编辑: n hello.c
分频显示: :sp
加鼠标: set moiuse = a ;
取消颜色选定 输入一个乱码