branch: master
commit 1de623383e865e166447e6640dbcc9ea5b6bfdc6
Author: chm <[email protected]>
Commit: Oleh Krehel <[email protected]>
Add avy-goto-end-of-line
Fixes #240
---
avy.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/avy.el b/avy.el
index 420bd1d..761631d 100644
--- a/avy.el
+++ b/avy.el
@@ -1616,6 +1616,13 @@ When BOTTOM-UP is non-nil, display avy candidates from
top to bottom"
(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.
ARG lines can be used."