termux-packages/packages/neovim/sysinit.vim

7 lines
219 B
VimL
Raw Normal View History

2015-06-13 01:03:31 +02:00
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
2017-02-20 04:34:19 +01:00
set mouse=a
2015-06-13 01:03:31 +02:00
map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y>
map <ScrollWheelDown> <C-E>
imap <ScrollWheelDown> <C-X><C-E>