plugins - Added NERDTree
This commit is contained in:
parent
1bc2b6acb4
commit
6a4f86b634
4 changed files with 10 additions and 4 deletions
|
@ -1 +0,0 @@
|
|||
NeoBundle 'scrooloose/nerdtree'
|
6
cfg/30-nerdtree-auto.vim
Normal file
6
cfg/30-nerdtree-auto.vim
Normal file
|
@ -0,0 +1,6 @@
|
|||
" Open automatically NERDTree if there are more than 150 columns and no file was
|
||||
" specified
|
||||
autocmd VimEnter * if argc() == 0 && &columns > 150
|
||||
\ | call dein#source("nerdtree")
|
||||
\ | NERDTree
|
||||
\ | endif
|
|
@ -2,9 +2,6 @@
|
|||
let g:NERDTreeGitStatusUpdateOnWrite = 1
|
||||
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
|
||||
|
||||
" Set the bookmarks file's path
|
||||
let g:NERDTreeBookmarksFile = GetVardataPath( 'NTBookmarks' )
|
||||
|
4
plugins/nerdtree.load.vim
Normal file
4
plugins/nerdtree.load.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
call dein#add('scrooloose/nerdtree', #{
|
||||
\ lazy: 1,
|
||||
\ on_map: #{ n: ['<Leader>e'] },
|
||||
\ })
|
Loading…
Reference in a new issue