[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 #+END_SRC
** winner ** winner
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package winner (use-package winner
:after hydra :commands (winner-undo winner-redo)
:demand t :bind ("C-c q" . imalison:winner-hydra/body)
:commands (winner-undo winner-redo) :config
:config (progn
(progn (defhydra imalison:winner-hydra ()
(bind-key "Winner"
"C-c q" ("p" winner-undo "back")
(defhydra imalison:winner-hydra () ("n" winner-redo "forward" :exit t))
"Winner" (winner-mode 1)))
("p" winner-undo "back")
("n" winner-redo "forward" :exit t)))
(winner-mode 1)))
#+END_SRC #+END_SRC
** eyebrowse ** eyebrowse
I don't have any use for this now that I use frames mode, but its an interesting idea. I don't have any use for this now that I use frames mode, but its an interesting idea.