Use winner to restore window configurations with C-z

This commit is contained in:
Wojciech Kozlowski 2019-07-24 08:32:28 +02:00
parent acb88e2a2d
commit 991640e7a6

View File

@ -40,6 +40,7 @@
volatile-highlights volatile-highlights
which-key which-key
whole-line-or-region whole-line-or-region
winner
ws-butler) ws-butler)
) )
@ -639,6 +640,14 @@
:config :config
(volatile-highlights-mode t)) (volatile-highlights-mode t))
;; --------------------------------------------------------------------------
;; `winner' - undo/redo window configuration.
;; --------------------------------------------------------------------------
(use-package winner
:init (winner-mode 1)
:bind (("C-z" . winner-undo)))
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
;; `which-key' ;; `which-key'
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------