Vim NERDTree 的常用操作

发布时间: 2017-09-26 13:07:52 作者: 大象笔记

用 Vim 写 Laravel 最头痛的是路径太长了,输入一遍 app/Http/Controller/Admin/XxxController.php 简直累死人。所以很有必要重拾 NERDTree

https://github.com/scrooloose/nerdtree/blob/master/doc/NERDTree.txt

先读一遍官方文档

新 tab 中打开文件

T

以 vertical split 的方式打开

s

水平 split 是

i

buffer 间切换

The commands :bnext and :bprevious will switch to the next or previous buffer in the buffer list.

对于多 buffer 可以使用

:b <Key Word>
我是一名山东烟台的开发者,联系作者