Also move left and right while holding shift and scrolling in vimpager

This commit is contained in:
Kevin MacMartin 2022-07-08 00:41:44 -04:00
parent e45467c5b3
commit 0dfd04c0dd

View file

@ -38,10 +38,12 @@ map <C-ScrollWheelUp> <Nop>
map <C-ScrollWheelDown> <Nop> map <C-ScrollWheelDown> <Nop>
map <A-ScrollWheelUp> <Nop> map <A-ScrollWheelUp> <Nop>
map <A-ScrollWheelDown> <Nop> map <A-ScrollWheelDown> <Nop>
noremap <C-ScrollWheelUp> 4zl noremap <C-ScrollWheelUp> 4zh
noremap <C-ScrollWheelDown> 4zh noremap <A-ScrollWheelUp> 4zh
noremap <A-ScrollWheelUp> zl noremap <S-ScrollWheelUp> 4zh
noremap <A-ScrollWheelDown> zh noremap <C-ScrollWheelDown> 4zl
noremap <A-ScrollWheelDown> 4zl
noremap <S-ScrollWheelDown> 4zl
"movement "movement
noremap <Home> 0 noremap <Home> 0