3bc578adb3
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com> neovim-nightly: update to 0.7.0-dev+1333-g71b4c30ad This commit has been automatically submitted by Github Actions.
7 lines
219 B
VimL
7 lines
219 B
VimL
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
|
|
set mouse=a
|
|
map <ScrollWheelUp> <C-Y>
|
|
imap <ScrollWheelUp> <C-X><C-Y>
|
|
map <ScrollWheelDown> <C-E>
|
|
imap <ScrollWheelDown> <C-X><C-E>
|