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

[RFE] avy-goto-char* allow start of line, first non-whitespace, end of line targets via arrow keys #205

Open
Lenbok opened this issue Jun 28, 2017 · 2 comments

Comments

@Lenbok
Copy link

Lenbok commented Jun 28, 2017

I am a new user of avy and as part of getting similar capability in the other editor I use (IntelliJ IDE), I have installed an acejump-like plugin from https://github.com/johnlindquist/AceJump. The AceJump IntelliJ plugin has a nice feature that I think would be quite useful in avy.

After activating the jump mode, if you press the left, up, or right arrow keys instead of a regular character, these serve to set the jump targets to the start of line (i.e. equivalent to avy-goto-line), first non-whitespace (not currently possible with avy?), and end of line positions respectively (not currently possible with avy?). There is a screenshot towards the end of https://github.com/johnlindquist/AceJump/blob/master/README.md

@Lenbok
Copy link
Author

Lenbok commented Jun 28, 2017

The same left, up, right arrow keys also work in their equivalent of avy-goto-line, so it might also (or alternatively) make sense to also add this capability to avy-goto-line (similarly to how pressing a digit currently takes you to line-number entry).

@abo-abo
Copy link
Owner

abo-abo commented Jun 28, 2017

See avy-dispatch-alist. You can customize that to do what you want. Maybe even open a PR to extend the defaults.

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

2 participants