avy
avy copied to clipboard
avy-goto-word-current-line should be implemented by default
Hi,
I love the customisation options avy has.
I implemented the function to jump to the words on the current line and have been using it a lot for editing long lines.
source: https://github.com/abo-abo/avy/wiki/custom-commands#jumping-to-a-word-start-on-the-current-line-only
Since this function is so useful I think it should be implemented within avy by default as avy-goto-word-current-line, so everyone can simply use it directly, without requiring any extra configuration.
I just use it as a lambda within evil mode for now.
(define-key evil-normal-state-map (kbd "`") (lambda() (interactive)(avy-goto-word-0 nil (line-beginning-position) (line-end-position))))
I know the maintainers might be busy with other things so this could be a good first pull request for new members who want to contribute to the project.
Thank you very much.