diff --git a/vimrc b/vimrc index e41162f..c70c4ca 100644 --- a/vimrc +++ b/vimrc @@ -61,7 +61,7 @@ call plug#begin() Plug 'vim-airline/vim-airline-themes' Plug 'lervag/vimtex' Plug 'Valloric/YouCompleteMe' - "Plug 'preservim/nerdtree' + Plug 'preservim/nerdtree' call plug#end() " Theme configuration @@ -93,4 +93,9 @@ au VimEnter * let g:ycm_semantic_triggers.tex=g:vimtex#re#youcompleteme " Easier write command let mapleader = " " nnoremap w write - +" NERDTree +nnoremap n :NERDTreeFocus +nnoremap :NERDTree +nnoremap :NERDTreeToggle +nnoremap :NERDTreeFind +let g:NERDTreeQuitOnOpen = 1