feat: add nerdtree

This commit is contained in:
Klesh Wong 2021-09-04 09:58:19 +08:00
parent e7c48367e8
commit 89f2257819

View File

@ -142,6 +142,7 @@ Plug 'alvan/vim-closetag', { 'for': ['vue', 'html', 'xml'] }
"Plug 'francoiscabrol/ranger.vim' "Plug 'francoiscabrol/ranger.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
if $VIM_MODE == 'enhanced' if $VIM_MODE == 'enhanced'
if !executable("node") || !executable("yarnpkg") if !executable("node") || !executable("yarnpkg")
@ -338,3 +339,6 @@ highlight SpellBad gui=undercurl
" commitmsg " commitmsg
autocmd BufEnter,BufRead commitmsg.md :set colorcolumn=100 autocmd BufEnter,BufRead commitmsg.md :set colorcolumn=100
" nerdtree
nnoremap <leader>t :NERDTreeToggle<CR>