simplify netrw config

Fri, 25 Oct 2019 05:04:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 25 Oct 2019 05:04:27 -0400
changeset 813
aecd3717aa7e
parent 812
d62e41b99428
child 814
639a3868c3da

simplify netrw config

.vim/ftplugin/netrw.vim file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.vim/ftplugin/netrw.vim
@@ -0,0 +1,1 @@
+nnoremap <buffer> gb <C-^>
--- a/.vimrc
+++ b/.vimrc
@@ -60,7 +60,7 @@ let s:filename   = expand('<sfile>')
 " }}}
 
 " Key maps {{{
-nnoremap <silent> <F2>   :Lexplore<CR>
+nnoremap <silent> <F2>   :20Lexplore<CR>
 noremap  <silent> <F4>   :set hls!<CR>
 nnoremap <silent> <F5>   :UndotreeToggle<CR>
 nnoremap <silent> <F8>   :TagbarToggle<CR>
@@ -315,11 +315,6 @@ let g:perl_tidy_equalprg           = exe
 " Plugin settings  {{{
 let g:plug_threads = 3
 
-">> Netrw
-let g:netrw_browse_split = 4
-let g:netrw_winsize      = 20
-let g:netrw_liststyle    = 3
-
 ">> vim-polyglot
 let g:polyglot_disabled = ['vifm', 'perl']
 

mercurial