Auto-unbind non-prefix keys on doom/reload #1431
This commit is contained in:
parent
6c69bf5313
commit
c9493038a0
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ reloads your package list, and lastly, reloads your private config.el.
|
|||
Runs `doom-reload-hook' afterwards."
|
||||
(interactive "P")
|
||||
(require 'core-cli)
|
||||
(general-auto-unbind-keys)
|
||||
(let ((doom-reloading-p t))
|
||||
(when (getenv "DOOMENV")
|
||||
(doom-reload-env-file 'force))
|
||||
|
@ -41,6 +42,7 @@ Runs `doom-reload-hook' afterwards."
|
|||
(when (bound-and-true-p doom-packages)
|
||||
(doom/reload-packages))
|
||||
(run-hook-wrapped 'doom-reload-hook #'doom-try-run-hook))
|
||||
(general-auto-unbind-keys t)
|
||||
(message "Finished!"))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue