disable ho-lock-map

This commit is contained in:
2026-11-12 20:36:44 +01:00
parent 86c3b994de
commit 9796948202
2 changed files with 16 additions and 0 deletions

View File

@@ -174,6 +174,7 @@
(require 'init-printing)
(require 'init-smarter-than-emacs)
(require 'init-dabbrev)
(require 'init-highlight)
(require 'init-marginalia)
(require 'init-avy)
(require 'init-ui)

15
lisp/init-highlight.el Normal file
View File

@@ -0,0 +1,15 @@
;; -*- lexical-binding: nil; -*-
(use-package hi-lock
: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))
(provide 'init-highlight)