Added NERDtree plugin
This commit is contained in:
parent
f562aae441
commit
035419eda8
3 changed files with 8 additions and 0 deletions
6
bundles-init/nerdtree.cfg.vim
Normal file
6
bundles-init/nerdtree.cfg.vim
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
" NERDTree: ' e' = toggle side bar
|
||||||
|
nnoremap <Leader>e :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" Open automatically if there are more than 150 columns and no file was specified
|
||||||
|
autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif
|
||||||
|
|
1
bundles-init/nerdtree.load.vim
Normal file
1
bundles-init/nerdtree.load.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
NeoBundle 'scrooloose/nerdtree'
|
|
@ -41,3 +41,4 @@ local leader key.
|
||||||
<Leader>pi CtrlP: directory
|
<Leader>pi CtrlP: directory
|
||||||
|
|
||||||
<Leader>t Toggle tagbar
|
<Leader>t Toggle tagbar
|
||||||
|
<Leader>e Toggle NERDtree explorer
|
||||||
|
|
Loading…
Reference in a new issue