diff options
-rw-r--r-- | tools/emacs/config/desktop.el | 4 | ||||
-rw-r--r-- | tools/emacs/config/init.el | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/emacs/config/desktop.el b/tools/emacs/config/desktop.el index 05402f68bcff..fb927b12e4d8 100644 --- a/tools/emacs/config/desktop.el +++ b/tools/emacs/config/desktop.el @@ -211,6 +211,10 @@ (exwm-input-set-key (kbd "s-m s") #'randr-layout-single) ;; Use edwina for window management shortcuts +;; +;; Its initialisation process is oddly stateful, hence configuration +;; happens here before toggling its minor mode. +(setq edwina-keymap-prefix (kbd "s-w")) (edwina-mode 1) (provide 'desktop) diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index 614eadae0332..0c663672e08f 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -48,7 +48,6 @@ (use-package edwina :after (ace-window ivy) :init - (setq edwina-keymap-prefix (kbd "s-w")) (defun edwina-split-to-buffer () (interactive) (ivy-read "Switch to buffer: " #'internal-complete-buffer |