mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
parent
f2bedeeb58
commit
228ed97d07
6
avy.el
6
avy.el
@ -132,6 +132,7 @@ If the commands isn't on the list, `avy-style' is used."
|
|||||||
(defcustom avy-dispatch-alist
|
(defcustom avy-dispatch-alist
|
||||||
'((?x . avy-action-kill-move)
|
'((?x . avy-action-kill-move)
|
||||||
(?X . avy-action-kill-stay)
|
(?X . avy-action-kill-stay)
|
||||||
|
(?t . avy-action-teleport)
|
||||||
(?m . avy-action-mark)
|
(?m . avy-action-mark)
|
||||||
(?n . avy-action-copy)
|
(?n . avy-action-copy)
|
||||||
(?y . avy-action-yank)
|
(?y . avy-action-yank)
|
||||||
@ -561,6 +562,11 @@ Set `avy-style' according to COMMMAND as well."
|
|||||||
(just-one-space))
|
(just-one-space))
|
||||||
(message "Killed: %s" (current-kill 0)))
|
(message "Killed: %s" (current-kill 0)))
|
||||||
|
|
||||||
|
(defun avy-action-teleport (pt)
|
||||||
|
"Kill sexp starting on PT and yank into the current location."
|
||||||
|
(avy-action-kill-stay pt)
|
||||||
|
(yank))
|
||||||
|
|
||||||
(declare-function flyspell-correct-word-before-point "flyspell")
|
(declare-function flyspell-correct-word-before-point "flyspell")
|
||||||
|
|
||||||
(defun avy-action-ispell (pt)
|
(defun avy-action-ispell (pt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user