Add avy-goto-end-of-line

Fixes #240
This commit is contained in:
chm 2018-08-04 21:37:55 +03:00 committed by Oleh Krehel
parent 7c40f5e381
commit 1de623383e

7
avy.el
View File

@ -1615,6 +1615,13 @@ When BOTTOM-UP is non-nil, display avy candidates from top to bottom"
(const :tag "Above" above)
(const :tag "Below" below)))
;;;###autoload
(defun avy-goto-end-of-line (&optional arg)
"Call `avy-goto-line' and move to the end of the line."
(interactive "p")
(avy-goto-line arg)
(end-of-line))
;;;###autoload
(defun avy-copy-line (arg)
"Copy a selected line above the current line.