From e7bf0e651bbe3224dcf14030eb36a4f3e88fd4cb Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 4 May 2017 13:20:33 -0500 Subject: [PATCH] Move from NERDTree to netrw's :Lexplore --- .vimrc | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.vimrc b/.vimrc index 56b68ef..dec955e 100644 --- a/.vimrc +++ b/.vimrc @@ -119,13 +119,20 @@ set number highlight LineNr ctermfg=darkgrey highlight LineNr ctermbg=black -" NERDTree options -nmap t :NERDTree -let g:NERDTreeChristmasTree = 1 -let g:NERDTreeChDirMode = 2 -let g:NERDTreeHighlightCursorline = 1 -let g:NERDTreeMouseMode = 2 -let g:NERDTreeShowHidden = 1 - " Tagbar options nmap :TagbarToggle + +" Functionally replace NERDTree +map :15Lexplore +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