Activate general-auto-unbind-keys post-startup
To prevent "X starts with non-prefix key Y" errors except at startup.
This commit is contained in:
parent
cdbd39ba26
commit
8862f8694c
1 changed files with 4 additions and 1 deletions
|
@ -110,7 +110,10 @@ all hooks after it are ignored.")
|
||||||
:init
|
:init
|
||||||
;; Convenience aliases
|
;; Convenience aliases
|
||||||
(defalias 'define-key! #'general-def)
|
(defalias 'define-key! #'general-def)
|
||||||
(defalias 'undefine-key! #'general-unbind))
|
(defalias 'undefine-key! #'general-unbind)
|
||||||
|
:config
|
||||||
|
;; Prevent "X starts with non-prefix key Y" errors except at startup.
|
||||||
|
(add-hook 'doom-after-init-modules-hook #'general-auto-unbind-keys))
|
||||||
|
|
||||||
|
|
||||||
;; HACK `map!' uses this instead of `define-leader-key!' because it consumes
|
;; HACK `map!' uses this instead of `define-leader-key!' because it consumes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue