Vim: Move back to nerdtree with git integration

This commit is contained in:
Robert Kmiec
2020-06-01 15:11:52 +02:00
committed by Robert Kmiec
parent 68df247595
commit ea281b7d31

View File

@@ -51,7 +51,8 @@ Plugin 'honza/vim-snippets'
" Files switch, jump and grep-like tools {{{
"Plugin 'ericcurtin/CurtineIncSw.vim' "Toggle .c .h files
"Plugin 'vim-scripts/a.vim' Curtine is the new a.vim
"Plugin 'scrooloose/nerdtree'
Plugin 'preservim/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'mileszs/ack.vim' " Ack integration
"Plugin 'jremmen/vim-ripgrep'
"Plugin 'ctrlpvim/ctrlp.vim'
@@ -369,12 +370,13 @@ set dictionary+=/usr/share/dict/words
" Mapping to NERDTree
"nnoremap <C-n> :e .<CR>
"let NERDTreeIgnore=['\.vim$', '\~$', '\.pyc$']
let g:netrw_banner=0
let g:netrw_wisize=20
let g:netrw_liststyle=3
let g:netrw_lolcalrmdir='rm -r'
nnoremap <leader>n :Lexplore<CR>
nnoremap <C-n> :NERDTreeToggle<CR>
let NERDTreeIgnore=['\.vim$', '\~$', '\.pyc$']
"let g:netrw_banner=0
"let g:netrw_wisize=20
"let g:netrw_liststyle=3
"let g:netrw_lolcalrmdir='rm -r'
"nnoremap <leader>n :Lexplore<CR>
" taken from Damian Conway