Created
November 3, 2019 14:09
-
-
Save dmi3mis/b2e2c972438e42397a77440da12e8a0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" open file vertically to the right | |
augroup netrw_mappings | |
autocmd! | |
autocmd filetype netrw call Netrw_mappings() | |
augroup END | |
function! OpenToRight() | |
:rightbelow vnew | |
:wincmd p | |
:normal P | |
endfunction | |
function! Netrw_mappings() | |
noremap V :call OpenToRight()<cr> | |
endfunction | |
let g:netrw_altv=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment