mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Also map alt+arrows to match alt+hjkl
This commit is contained in:
parent
b95d4d487b
commit
4448b08ef6
1 changed files with 24 additions and 0 deletions
|
@ -502,6 +502,30 @@
|
||||||
nnoremap <C-h> <S-Left>
|
nnoremap <C-h> <S-Left>
|
||||||
|
|
||||||
"map alt+direction to moving the viewport in that direction
|
"map alt+direction to moving the viewport in that direction
|
||||||
|
noremap <A-Up> <ScrollWheelUp>
|
||||||
|
nnoremap <A-Up> <ScrollWheelUp>
|
||||||
|
xnoremap <A-Up> <ScrollWheelUp>
|
||||||
|
snoremap <A-Up> <ScrollWheelUp>
|
||||||
|
vnoremap <A-Up> <ScrollWheelUp>
|
||||||
|
inoremap <A-Up> <ScrollWheelUp>
|
||||||
|
noremap <A-Down> <ScrollWheelDown>
|
||||||
|
nnoremap <A-Down> <ScrollWheelDown>
|
||||||
|
xnoremap <A-Down> <ScrollWheelDown>
|
||||||
|
snoremap <A-Down> <ScrollWheelDown>
|
||||||
|
vnoremap <A-Down> <ScrollWheelDown>
|
||||||
|
inoremap <A-Down> <ScrollWheelDown>
|
||||||
|
noremap <A-Right> 4zl
|
||||||
|
nnoremap <A-Right> 4zl
|
||||||
|
xnoremap <A-Right> 4zl
|
||||||
|
snoremap <A-Right> 4zl
|
||||||
|
vnoremap <A-Right> 4zl
|
||||||
|
inoremap <A-Right> <C-O>4zl
|
||||||
|
noremap <A-Left> 4zh
|
||||||
|
nnoremap <A-Left> 4zh
|
||||||
|
xnoremap <A-Left> 4zh
|
||||||
|
snoremap <A-Left> 4zh
|
||||||
|
vnoremap <A-Left> 4zh
|
||||||
|
inoremap <A-Left> <C-O>4zh
|
||||||
noremap <A-k> <ScrollWheelUp>
|
noremap <A-k> <ScrollWheelUp>
|
||||||
nnoremap <A-k> <ScrollWheelUp>
|
nnoremap <A-k> <ScrollWheelUp>
|
||||||
xnoremap <A-k> <ScrollWheelUp>
|
xnoremap <A-k> <ScrollWheelUp>
|
||||||
|
|
Loading…
Reference in a new issue