commit e010a86395ff32f7d0c4686a801feffdfba0ca09
parent f13542c0716fb3970be9fb371745e07b7a1308f1
Author: finwo <finwo@pm.me>
Date: Thu, 9 May 2019 14:21:19 +0200
Added NERDTree to neovim
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/neovim/home/.vimrc b/neovim/home/.vimrc
@@ -12,6 +12,7 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'morhetz/gruvbox'
Plug 'qpkorr/vim-bufkill'
+Plug 'scrooloose/nerdtree'
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
@@ -105,6 +106,7 @@ nnoremap <leader>o :Files<cr>
nnoremap <tab> :bnext<cr>
nnoremap <s-tab> :bprevious<cr>
nnoremap <c-w> :BD<cr>
+nnoremap <c-n> :NERDTreeToggle<cr>
" }}}
" Airline {{{
let g:airline#extensions#tabline#enabled = 1
@@ -121,3 +123,10 @@ let g:fzf_tags_command = 'ctags -R'
let g:fzf_commands_expext = 'alt-enter,ctrl-x'
nnoremap <silent> <leader><enter> :Buffers<cr>
" }}}
+" NERDTree {{{
+
+" Highlighting of nerd dev icons and filenames in nerd tree
+let g:NERDTreeFileExtensionsHighlightFullName = 1
+let g:NERDTreeExactMatchHighlightFullName = 1
+let g:NERDTreePatternMatchHighlightFullName = 1
+" }}}