termux-packages/packages/vim-python/vimrc
Fredrik Fornwall 4c4f1e9709 vim: Avoid customization
Starting with version 8.0 the default behaviour of vim is a lot more
user friendly.
2017-01-25 18:46:14 +01:00

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>