Integration: Change namespace for evil-define-avy-motion
This commit is contained in:
parent
fbfb23f983
commit
29af71034d
|
@ -479,7 +479,7 @@ Based on `evil-collection-integration-enclose-ace-jump-for-motion'."
|
|||
nil)))
|
||||
,@body))
|
||||
|
||||
(defmacro evil-define-avy-motion (command type)
|
||||
(defmacro evil-collection-integration-define-avy-motion (command type)
|
||||
(declare (indent defun)
|
||||
(debug t))
|
||||
(let ((name (intern (format "evil-%s" command))))
|
||||
|
@ -493,25 +493,25 @@ Based on `evil-collection-integration-enclose-ace-jump-for-motion'."
|
|||
(call-interactively ',command))))))
|
||||
|
||||
;; define evil-avy-* motion commands for avy-* commands
|
||||
(evil-define-avy-motion avy-goto-char inclusive)
|
||||
(evil-define-avy-motion avy-goto-char-2 inclusive)
|
||||
(evil-define-avy-motion avy-goto-char-2-above inclusive)
|
||||
(evil-define-avy-motion avy-goto-char-2-below inclusive)
|
||||
(evil-define-avy-motion avy-goto-char-in-line inclusive)
|
||||
(evil-define-avy-motion avy-goto-char-timer inclusive)
|
||||
(evil-define-avy-motion avy-goto-line line)
|
||||
(evil-define-avy-motion avy-goto-line-above line)
|
||||
(evil-define-avy-motion avy-goto-line-below line)
|
||||
(evil-define-avy-motion avy-goto-subword-0 exclusive)
|
||||
(evil-define-avy-motion avy-goto-subword-1 exclusive)
|
||||
(evil-define-avy-motion avy-goto-symbol-1 exclusive)
|
||||
(evil-define-avy-motion avy-goto-symbol-1-above exclusive)
|
||||
(evil-define-avy-motion avy-goto-symbol-1-below exclusive)
|
||||
(evil-define-avy-motion avy-goto-word-0 exclusive)
|
||||
(evil-define-avy-motion avy-goto-word-1 exclusive)
|
||||
(evil-define-avy-motion avy-goto-word-1-above exclusive)
|
||||
(evil-define-avy-motion avy-goto-word-1-below exclusive)
|
||||
(evil-define-avy-motion avy-goto-word-or-subword-1 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char-2 inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char-2-above inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char-2-below inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char-in-line inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-char-timer inclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-line line)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-line-above line)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-line-below line)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-subword-0 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-subword-1 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-symbol-1 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-symbol-1-above exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-symbol-1-below exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-word-0 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-word-1 exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-word-1-above exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-word-1-below exclusive)
|
||||
(evil-collection-integration-define-avy-motion avy-goto-word-or-subword-1 exclusive)
|
||||
|
||||
;; remap avy-* commands to evil-avy-* commands
|
||||
(dolist (command '(avy-goto-char
|
||||
|
|
Loading…
Reference in New Issue