Re:Two-finger scroll moves through time instead of space
by necubi on Saturday March 04, 2017 @06:51PM
(#13793629)
This is just a few lines in emacs: https://www.reddit.com/r/emacs/comments/5xi92h/a_scroll_whee...
[ Parent
| on HN ]
Re:Two-finger scroll moves through time instead of space
by lokedhs on Sunday March 05, 2017 @10:54AM
(#13796468)
Being very familiar with Emacs, I would never have thought the Atom version to be much more complicated than that.
Then I looked at the code in the original link, and wow. Just... Wow. That cannot possibly be the easiest way to do this?
Perhaps there is something to the thing they say about Javacsript programmers and how they manage to reinvent technologies from a couple decades ago, badly?
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