really fix c-x w

This commit is contained in:
2026-11-12 20:54:28 +01:00
parent 9796948202
commit 89c68dd197

View File

@@ -5,11 +5,10 @@
:ensure nil :ensure nil
:config :config
;; This disables the hi-lock-mode keymap, which conflicts with our ;; This disables the hi-lock-mode keymap, which conflicts with our
;; window hydra (C-x w) and we don't need it anyway ;; window hydra (C-x w) and we don't need hi-lock keys anyway )
(setcdr hi-lock-map (cdr (make-keymap))) (eval-after-load 'hi-lock '(progn
(set-keymap-parent hi-lock-map special-mode-map)) (define-key hi-lock-map (kbd "C-x w") 'hydra-windows/body))))
(provide 'init-highlight) (provide 'init-highlight)