Skip to content

Instantly share code, notes, and snippets.

@matiasmm
Created March 8, 2018 13:04
Show Gist options
  • Save matiasmm/fe1b45015821e41876d4824e8c083ea4 to your computer and use it in GitHub Desktop.
Save matiasmm/fe1b45015821e41876d4824e8c083ea4 to your computer and use it in GitHub Desktop.
Enables you to use shift to select
nmap <S-Up> v<Up>
nmap <S-Down> v<Down>
nmap <S-Left> v<Left>
nmap <S-Right> v<Right>
vmap <S-Up> <Up>
vmap <S-Down> <Down>
vmap <S-Left> <Left>
vmap <S-Right> <Right>
imap <S-Up> <Esc>v<Up>
imap <S-Down> <Esc>v<Down>
imap <S-Left> <Esc>v<Left>
imap <S-Right> <Esc>v<Right>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment