termux-packages/packages/neovim-nightly/sysinit.vim
Aditya Alok 3bc578adb3 feat: add package neovim nightly
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.
2022-03-28 23:11:11 +05:30

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>