Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions avy.el
Original file line number Diff line number Diff line change
Expand Up @@ -1307,6 +1307,28 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
(regexp-quote (string char)))
:window-flip arg)))

;;;###autoload
(defun avy-goto-char-above (char &optional arg)
"Jump to the currently visible CHAR in above.
The window scope is determined by `avy-all-windows' (ARG negates it)."
(interactive (list (read-char "char: " t)))
(avy-with avy-goto-char
(avy-jump
(regexp-quote (string char))
:beg (window-start)
:end (point))))

;;;###autoload
(defun avy-goto-char-below (char &optional arg)
"Jump to the currently visible CHAR in below.
The window scope is determined by `avy-all-windows' (ARG negates it)."
(interactive (list (read-char "char: " t)))
(avy-with avy-goto-char
(avy-jump
(regexp-quote (string char))
:beg (point)
:end (window-end (selected-window) t))))

;;;###autoload
(defun avy-goto-char-in-line (char)
"Jump to the currently visible CHAR in the current line."
Expand Down