Re:Two-finger scroll moves through time instead of space
by mintplant on Saturday March 04, 2017 @08:37PM
(#13794118)
vim:
" scroll wheel moves through time instead of space
" <https://xkcd.com/1806/>
set mouse=a
nnoremap <ScrollWheelUp> u
nnoremap <ScrollWheelDown> <C-r>
inoremap <ScrollWheelUp> <Esc>ui
inoremap <ScrollWheelDown> <Esc><C-r>i