News for hackers. Stuff that matters.
Re:Two-finger scroll moves through time instead of space by vmarsy on Saturday March 04, 2017 @04:47PM (#13793089)
Is that doing Ctrl+Z , Ctrl+Y in the background?

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 :)

Re:Two-finger scroll moves through time instead of space by epmatsw on Saturday March 04, 2017 @05:43PM (#13793308)
Not quite on scroll, but Git Time Machine for Atom is kind of close: https://atom.io/packages/git-time-machine
Re:Two-finger scroll moves through time instead of space by vmarsy on Saturday March 04, 2017 @06:35PM (#13793533)
Oh pretty nice, a vscode equivalent would be awesome
Re:Two-finger scroll moves through time instead of space by dzhiurgis on Saturday March 04, 2017 @07:12PM (#13793768)
Nice! I did not like diff and history that comes with git-plus. Thank you!
Re:Two-finger scroll moves through time instead of space by HammondSmoking on Saturday March 04, 2017 @04:55PM (#13793121)
You can easily do that using magit in emacs [1].

[1] https://magit.vc/manual/magit/Blaming.html

Re:Two-finger scroll moves through time instead of space by bobwaycott on Sunday March 05, 2017 @03:33AM (#13795111)
As a two-finger horizontal scroll?
Re:Two-finger scroll moves through time instead of space by HammondSmoking on Sunday March 05, 2017 @03:38AM (#13795121)
The elisp functions to go back and forth in history are there, I'm sure it's just a matter of remapping them.
Re:Two-finger scroll moves through time instead of space by notamy on Saturday March 04, 2017 @05:38PM (#13793292)
Scrolling through a file's git history like that would be pretty freaking awesome.
Re:Two-finger scroll moves through time instead of space by melloclello on Saturday March 04, 2017 @07:27PM (#13793836)
I once built a calculator app where you could two-finger swipe to undo/redo: https://appsto.re/nz/oxLx3.i

Previous/future states simply appear adjacent to one another so you can scroll through them easily.

I absolutely believe that version control history is something that needs to be treated as a dimension like any other

Re:Two-finger scroll moves through time instead of space by deckar01 on Saturday March 04, 2017 @09:19PM (#13794242)
I once built a motion controlled drawing app that mapped rotating hands to scrubbing through the undo/redo stack.

https://youtu.be/DM1JtYyr88k

Skip to 0:18 to skip calibration.

It would be cool to make a calculator that recognized number gestures.

Re:Two-finger scroll moves through time instead of space by tiglionabbit on Saturday March 04, 2017 @05:35PM (#13793278)
That was my second thought. My first thought was, doesn't Time Machine already exist?