Fix NerdTree lazy loading

Did not load NerdTree on NerdTreeFind command, which also causes it to
open via a mapping. This caused the mapping to only work after having
opened NerdTree at least once through another method.
This commit is contained in:
Marty Oehme 2019-11-21 14:58:50 +01:00
parent bef8ed7173
commit faf4739711

View file

@ -57,8 +57,8 @@ Plug 'tpope/vim-surround' " lets you change surrounding things with cs (or ds to
" " Ecosystem
" " Plug 'tpope/vim-fugitive' - Will have to take a closer look some other time
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " show a directory listing within vim
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } " show git status in nerdtree for files and dirs
Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } " show a directory listing within vim
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } " show git status in nerdtree for files and dirs
" Fuzzy matching
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }