diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index dc28284..5027d8c 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -20,10 +20,8 @@ let g:netrw_altv = 1 let g:netrw_winsize = 20 function! OpenNetRW() - vsplit - :vertical resize 25 - Explore - wincmd h + Vexplore + wincmd l endfunction aug ProjectDrawer @@ -35,3 +33,8 @@ aug netrw_close au! au WinEnter * if winnr('$') == 1 && getbufvar(winbufnr(winnr()), "&filetype") == "netrw"|q|endif aug END + +nnoremap :wincmd w +inoremap :wincmd w +nnoremap :wincmd W +inoremap :wincmd W