Fix an issue where doom-leader-alt-key and doom-localleader-alt-key does not work in emacs mode
This commit is contained in:
parent
4b2dbe42a5
commit
0a7717786c
1 changed files with 2 additions and 2 deletions
|
@ -77,14 +77,14 @@ If any hook returns non-nil, all hooks after it are ignored.")
|
|||
(after! evil
|
||||
(defmacro define-leader-key! (&rest args)
|
||||
`(general-define-key
|
||||
:states '(normal visual motion insert)
|
||||
:states '(normal visual motion insert emacs)
|
||||
:keymaps 'doom-leader-map
|
||||
:prefix doom-leader-key
|
||||
:non-normal-prefix doom-leader-alt-key
|
||||
,@args))
|
||||
|
||||
(general-create-definer define-localleader-key!
|
||||
:states '(normal visual motion insert)
|
||||
:states '(normal visual motion insert emacs)
|
||||
:major-modes t
|
||||
:wk-full-keys nil
|
||||
:prefix doom-localleader-key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue