Before opening the link I was thinking this was going to be a cool feature that lets you scroll through older revisions of a file in git. This, paired with a git blame GUI would be awesome.
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?
" 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
Whether it's mapped to a two-finger slide, a scroll wheel, a dial, etc isn't the important part. The novel-feeling part is that as computers get faster and people improve at engineering performant software we can have the software provide results in realtime to analog inputs which makes people feel connected to the software in exciting ways.
A basic example would be a virtual DJ type app that lets you slide across an on-screen LP to scratch forward/backward. Obviously something more visually or conceptually impressive as seen in games which support time rewinding would be closer to the spirit of the post.
I would certainly like to encourage more developers to make use of scrolling/sliding input in unique ways.
Before opening the link I was thinking this was going to be a cool feature that lets you scroll through older revisions of a file in git. This, paired with a git blame GUI would be awesome.
A minority report for git repos
Sweet feature regardless :)