[vim] load NERDTree on-demand
Since NERDTree executes almost 20 scripts upon initialization, load it only on demand, i.e. when the tree is actually toggled for the first time.
This commit is contained in:
parent
f8734b4a3a
commit
d10d614865
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -60,7 +60,7 @@ set nocompatible
|
||||||
Plug 'junegunn/vim-easy-align'
|
Plug 'junegunn/vim-easy-align'
|
||||||
Plug 'kien/ctrlp.vim'
|
Plug 'kien/ctrlp.vim'
|
||||||
Plug 'majutsushi/tagbar'
|
Plug 'majutsushi/tagbar'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
|
Loading…
Add table
Reference in a new issue