Skip to content

Instantly share code, notes, and snippets.

@Zetagon
Zetagon / avy-evil-actions.el
Created November 6, 2021 11:00
Use evil commands with avy-dispatch-alist
View avy-evil-actions.el
(setf (alist-get ?w avy-dispatch-alist)
#'my/avy-evil-delete)
(setf (alist-get ?y avy-dispatch-alist)
#'my/avy-evil-copy)
(setf (alist-get ?c avy-dispatch-alist)
#'my/avy-evil-change)
(setf (alist-get ?a avy-dispatch-alist)
#'my/avy-embark-act)
(defun my/avy-embark-act (pt)