6 lines
207 B
VimL
6 lines
207 B
VimL
|
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
|
||
|
map <ScrollWheelUp> <C-Y>
|
||
|
imap <ScrollWheelUp> <C-X><C-Y>
|
||
|
map <ScrollWheelDown> <C-E>
|
||
|
imap <ScrollWheelDown> <C-X><C-E>
|