vim – NerdTree – 在树中显示文件

有一个快捷方式显示当前文件在NerdTree目录面板中。

像TextMate’显示文件在Drawer’ – Ctrl Command R

在:h NERDTree:
:NERDTreeFind                                                  :NERDTreeFind
    Find the current file in the tree. If no tree exists for the current tab,or the file is not under the current root,then initialize a new tree where
    the root is the directory of the current file.

我不认为它默认绑定到任何东西,所以你必须自己做一个键绑定。

nmap,n :NERDTreeFind<CR>

是什么出现在我的.vimrc,一起

nmap,m :NERDTreeToggle<CR>

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...