Created
February 21, 2015 20:31
-
-
Save herbertjones/378d3c7bc258d7f5bf1e to your computer and use it in GitHub Desktop.
Playing with a spacemacs-like scrolling micro state and new syntax
This file contains 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
(spacemacs|define-micro-state scroll | |
:doc "[,] page down [.] page up " | |
:bindings | |
("," evil-scroll-page-down) | |
("." evil-scroll-page-up)) | |
(evil-leader/set-key | |
"," '(lambda (x) | |
(interactive "p") | |
(evil-scroll-page-down x) | |
(spacemacs/scroll-micro-state)) | |
"." '(lambda (x) | |
(interactive "p") | |
(evil-scroll-page-up x) | |
(spacemacs/scroll-micro-state)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment