7 lines
219 B

10 years ago
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
set mouse=a
10 years ago
map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y>
map <ScrollWheelDown> <C-E>
imap <ScrollWheelDown> <C-X><C-E>