vi 下多文件编辑的方法

来源:互联网 发布:李孝利人品知乎 编辑:程序博客网 时间:2024/04/30 09:02
在vi 下面操作多个文件其实超级简单
o newfilename
:bn   buffer Next
:bp   Buffer Pervious
:bN   The list number N of the buffers
:sp newfile  // open a newfile with a splited window
[ctrl] +j // down window  (same with the key j)
[ctrl] +k // up window    (same with the key k)

原创粉丝点击