3 ms·
This is just a few lines in emacs: https://www.reddit.com/r/emacs/comments/5xi92h/a_scroll_wheel_mapped_to_send_a_stream_undo_and/?st=izvwj86v&sh=abecab90 https
by necubi 10y ago
This is just a few lines in emacs: https://www.reddit.com/r/emacs/comments/5xi92h/a_scroll_wheel_mapped_to_send_a_stream_undo_and/?st=izvwj86v&sh=abecab90 https://www.reddit.com/r/emacs/comments/5xi92h/a_scroll_whee...
- mintplant 10y agovim: " 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.
- lokedhs 10y agoBeing 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?