vim file1 file2 file3
:next 下个文件,:previous上个文件
:args显示文件列表
:last最后个文件,:first第一文件
:2next跳过两个文件
返回上一个文件,ctrl+^
复制多断内容到不同缓冲区,复制前指定缓冲区"f,指定f,"g指定g。粘帖时"f从f读取,"g从g中读取
只读模式打开文件 vim -R filename
防止编辑模式打开文件 vim -M filename
:saveas filename 另存为