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)