[Emacs] Make winner configuration less eager

This commit is contained in:
Ivan Malison 2017-08-23 16:35:11 -07:00
parent 9e6a395aa9
commit 3aac153074
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1450,19 +1450,16 @@ Paradox is a package.el extension. I have no use for it now that I use straight.
#+END_SRC
** winner
#+BEGIN_SRC emacs-lisp
(use-package winner
:after hydra
:demand t
:commands (winner-undo winner-redo)
:config
(progn
(bind-key
"C-c q"
(defhydra imalison:winner-hydra ()
"Winner"
("p" winner-undo "back")
("n" winner-redo "forward" :exit t)))
(winner-mode 1)))
(use-package winner
:commands (winner-undo winner-redo)
:bind ("C-c q" . imalison:winner-hydra/body)
:config
(progn
(defhydra imalison:winner-hydra ()
"Winner"
("p" winner-undo "back")
("n" winner-redo "forward" :exit t))
(winner-mode 1)))
#+END_SRC
** eyebrowse
I don't have any use for this now that I use frames mode, but its an interesting idea.