Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avy-goto-word-current-line should be implemented by default #380

Open
oxcrow opened this issue Jan 10, 2025 · 0 comments
Open

avy-goto-word-current-line should be implemented by default #380

oxcrow opened this issue Jan 10, 2025 · 0 comments

Comments

@oxcrow
Copy link

oxcrow commented Jan 10, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant