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

leap/hop/sneak motion #250

Open
1 task done
throwaway-squared opened this issue Nov 18, 2024 · 0 comments
Open
1 task done

leap/hop/sneak motion #250

throwaway-squared opened this issue Nov 18, 2024 · 0 comments

Comments

@throwaway-squared
Copy link

  • I understand that if my request is about supporting some Vim feature, it probably belongs here.

Describe the feature that you'd like:

hi, it would be very awesome if i could bind some key (like f or more commonly s) to a 'jump to specific letter' motion, as seen in popular plugins for vim, such as https://github.com/smoka7/hop.nvim or https://github.com/ggandor/leap.nvim.

Additional context:

preferrably, a user would press the 'leap' keybind, then type a letter that is currently at least like 70% visible and if theres multiples of that letter (which is the case most often), an overlay with another letter would appear over it. pressing the character as seen on the overlay, the cursor would jump to that position.

for me this is an essential motion and i cant comfortably live without it.

you can probably either try to temporarily replace the text seen in the buffer with the 'overlay text' and then revert the changes after the jump or overlay a gui component, although that would probably warrant its on plugin

thank you

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