From 0df5aaf0e0682f026654c7425cb4a2070be2a8da Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 19 Aug 2020 09:40:59 +0200 Subject: [PATCH] Add vim plugin to enhance netrw by setting defaults --- vim/plugin/better_netrw.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vim/plugin/better_netrw.vim diff --git a/vim/plugin/better_netrw.vim b/vim/plugin/better_netrw.vim new file mode 100644 index 0000000..9847951 --- /dev/null +++ b/vim/plugin/better_netrw.vim @@ -0,0 +1,15 @@ +let g:netrw_liststyle=3 + +let g:netrw_banner=0 + +let g:netrw_browse_split=4 +" 1 - open files in a new horizontal split +" 2 - open files in a new vertical split +" 3 - open files in a new tab +" 4 - open in previous window + +" Netrw window size in % +let g:netrw_winsize = 25 + +" Reuse directory listings +let g:netrw_fastbrowse = 1