disabled autoloading of nerdtree in vim
This commit is contained in:
parent
020aafcc79
commit
53035ab612
1 changed files with 2 additions and 2 deletions
4
.vimrc
4
.vimrc
|
|
@ -3,8 +3,8 @@ execute pathogen#infect()
|
||||||
|
|
||||||
" Load NERDTree plugin only if opening vim without a file
|
" Load NERDTree plugin only if opening vim without a file
|
||||||
"autocmd VimEnter * NERDTree
|
"autocmd VimEnter * NERDTree
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
"autocmd StdinReadPre * let s:std_in=1
|
||||||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
"autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||||
|
|
||||||
" Open NERDTree with Ctrl+n / Toggle
|
" Open NERDTree with Ctrl+n / Toggle
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue