default/config: explicitly use :states #1084
The 'motion alias didn't appear to be working.
This commit is contained in:
parent
937252af4e
commit
747c040c0e
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ customized by changing `+default-repeat-forward-key' and
|
||||||
(let ((fn-sym (intern (format "+default*repeat-%s" (doom-unquote command)))))
|
(let ((fn-sym (intern (format "+default*repeat-%s" (doom-unquote command)))))
|
||||||
`(progn
|
`(progn
|
||||||
(defun ,fn-sym (&rest _)
|
(defun ,fn-sym (&rest _)
|
||||||
(define-key! 'motion
|
(define-key! :states 'motion
|
||||||
(car +default-repeat-keys) #',next-func
|
(car +default-repeat-keys) #',next-func
|
||||||
(cdr +default-repeat-keys) #',prev-func))
|
(cdr +default-repeat-keys) #',prev-func))
|
||||||
(advice-add #',command :before #',fn-sym))))
|
(advice-add #',command :before #',fn-sym))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue