4 ms·
vim: " scroll wheel moves through time instead of space " <https://xkcd.com/1806/> set mouse=a nnoremap <ScrollWheelUp> u nnoremap <ScrollW
by mintplant 10y ago
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
- kzrdude 10y agoIt could use g- / g+ instead, to cover all undo branches.