Move from NERDTree to netrw's :Lexplore

This commit is contained in:
David Thurstenson 2017-05-04 13:20:33 -05:00
parent d7d30289cb
commit e7bf0e651b
1 changed files with 15 additions and 8 deletions

23
.vimrc
View File

@ -119,13 +119,20 @@ set number
highlight LineNr ctermfg=darkgrey
highlight LineNr ctermbg=black
" NERDTree options
nmap <silent> <leader>t :NERDTree<CR>
let g:NERDTreeChristmasTree = 1
let g:NERDTreeChDirMode = 2
let g:NERDTreeHighlightCursorline = 1
let g:NERDTreeMouseMode = 2
let g:NERDTreeShowHidden = 1
" Tagbar options
nmap <F8> :TagbarToggle<CR>
" Functionally replace NERDTree
map <silent> <C-E> :15Lexplore<CR>
let g:netrw_browse_split = 4
let g:netrw_altv = 1
let g:netrw_winsize = 15
let g:netrw_banner = 0
let g:netrw_use_errorwindow = 0
let g:netrw_usetab = 1
"" Default to tree mode
let g:netrw_liststyle=3
"" Change directory to the current buffer when opening files.
set autochdir