From 5e1de9b170d11081624aee77880970b2ef605f84 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 18 Oct 2018 14:10:41 -0400 Subject: [PATCH] Add netrw config to .vimrc netrw is the default file browser in vim. It works exceptionally well, so I use it over other plugins that provide the same functionality. --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index e5d9ae9..0d9a940 100644 --- a/.vimrc +++ b/.vimrc @@ -137,6 +137,9 @@ nnoremap e :set nu! nnoremap t :OverCommandLine%s/ " Middle row +nnoremap a :Vexplore +nnoremap s :Sexplore +nnoremap d :Explore nnoremap f :Files nnoremap g :set hlsearch! nnoremap j :Buffers @@ -156,6 +159,16 @@ nnoremap 2 :PencilSoft:Goyo:hi vertsplit ctermfg=0 cter nnoremap 3 :mksession! ~/.vim/.session nnoremap 4 :source ~/.vim/.session +" ========================= +" ========= netrw ========= +" ========================= + +" Remove the banner +let g:netrw_banner = 0 + +" Use the tree list view +let g:netrw_liststyle = 3 + " ======================= " ========= ale ========= " =======================