Created
February 21, 2015 22:07
-
-
Save herbertjones/4ceaac254bd620c28e51 to your computer and use it in GitHub Desktop.
Git timemachine micro state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(evil-leader/set-key | |
"gt" nil | |
"gt" 'spacemacs/time-machine-micro-state) | |
(spacemacs|define-micro-state time-machine | |
:doc "[q] quit [p] previous [n] next [c] current" | |
:on-enter (git-timemachine) | |
:on-exit (git-timemachine-quit) | |
:persistent t | |
:bindings | |
("c" git-timemachine-show-current-revision) | |
("p" git-timemachine-show-previous-revision) | |
("n" git-timemachine-show-next-revision) | |
("q" nil :exit t) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment