editor/evil: conform functions to naming conventions

This commit is contained in:
Henrik Lissner 2019-11-02 01:40:45 -04:00
parent 7142b4aa0f
commit baac5dfee1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -350,7 +350,7 @@ directives. By default, this only recognizes C directives.")
(defmacro set-repeater! (command next-func prev-func)
"Makes ; and , the universal repeat-keys in evil-mode.
To change these keys see `+evil-repeat-keys'."
(let ((fn-sym (intern (format "+default/repeat-%s" (doom-unquote command)))))
(let ((fn-sym (intern (format "+evil/repeat-%s" (doom-unquote command)))))
`(progn
(defun ,fn-sym (&rest _)
(evil-define-key* 'motion 'local
@ -399,7 +399,7 @@ To change these keys see `+evil-repeat-keys'."
'("gr" "gR"))
'("[" "]" "gz" "<escape>")))
(defadvice! +default-evil-collection-disable-blacklist-a (orig-fn)
(defadvice! +evil-collection-disable-blacklist-a (orig-fn)
:around #'evil-collection-vterm-toggle-send-escape ; allow binding to ESC
(let (evil-collection-key-blacklist)
(apply orig-fn))))