Set up winner.el keybindings

This commit is contained in:
Jeremy Dormitzer 2020-01-01 23:04:19 -05:00
parent 54eceaa29a
commit 1b028b2bf6

View File

@ -816,6 +816,14 @@ Emacs has a shell for every mood!
(general-def 'normal "M-." #'xref-find-definitions)
#+END_SRC
* Winner
Winner is a minor mode that keeps an undo/redo history of the window configuration:
#+BEGIN_SRC emacs-lisp
(winner-mode 1)
(leader-def-key "wn" #'winner-redo)
(leader-def-key "wp" #'winner-undo)
#+END_SRC
* xref
After I select an xref reference, I want the xref buffer closed:
#+BEGIN_SRC emacs-lisp