多文件切换
- 通过vim打开多个文件(可以通过ctags或者cscope)
- ":ls"查看当前打开的buffer(文件)
- ":b num"切换文件(其中num为buffer list中的编号)
可以用到的命令有
":bn" -- next buffer in the buffer list
":bp" -- previous buffer in the buffer list
":b#" -- previous buffer you was in
多文件切换
可以用到的命令有
":bn" -- next buffer in the buffer list
":bp" -- previous buffer in the buffer list
":b#" -- previous buffer you was in