From 89c68dd1979a0dda172074655916dfc069ada3ef Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 12 Nov 2026 20:54:28 +0100 Subject: [PATCH] really fix c-x w --- lisp/init-highlight.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/init-highlight.el b/lisp/init-highlight.el index 4dd31d3..6266636 100644 --- a/lisp/init-highlight.el +++ b/lisp/init-highlight.el @@ -5,11 +5,10 @@ :ensure nil :config - ;; This disables the hi-lock-mode keymap, which conflicts with our - ;; window hydra (C-x w) and we don't need it anyway - (setcdr hi-lock-map (cdr (make-keymap))) - (set-keymap-parent hi-lock-map special-mode-map)) + ;; window hydra (C-x w) and we don't need hi-lock keys anyway ) + (eval-after-load 'hi-lock '(progn + (define-key hi-lock-map (kbd "C-x w") 'hydra-windows/body)))) (provide 'init-highlight)