vim-splitted-nerdtree


Ⅰ. 插件描述

Use NERDTree as your split explorer

Ⅱ. 基本信息

创建日期:  2014-11-14
使用用户:  1
Github星:  3
插件作者:  Sven Winkler

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'svenwin/vim-splitted-nerdtree'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'svenwin/vim-splitted-nerdtree'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'svenwin/vim-splitted-nerdtree'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/svenwin/vim-splitted-nerdtree

Ⅳ. 文档说明

vim-splitted-nerdtree

Use NERDTree as your split explorer!

NERDTree as split explorer in Vim

After watching Vimcasts: The file explorer and reading through Practical Vim: Tip 43 I wanted to make NERDTree my split explorer of choice, but some functionality was missing. Files could not be revealed with NERDTreeFindFile without opening a new NERDTree buffer, CtrlP would create new splits instead of reusing NERDTree buffers and I had let NERDTree hijack NetRW to get rid of it.

So I wrote a small plugin to clean up my .vimrc

Use the package manager of your choice to source this plugin (you need NERDTree of course):

Bundle 'scrooloose/nerdtree'
Bundle 'svenwin/vim-splitted-nerdtree'

Bind your prefered key sequence:

nmap <leader>n :call splittednerdtree#revealFile()<CR>

添加新评论