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

Add helix goto_word command #339

Open
forivall opened this issue Jul 18, 2024 · 2 comments
Open

Add helix goto_word command #339

forivall opened this issue Jul 18, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@forivall
Copy link

forivall commented Jul 18, 2024

I've tried out leap a bit, but it's not quite ideal for me, and i tried out goto_word (g w) in helix, and it works a bit more nicely for me, so I'd love to port it to dance (it also helps improve dance's helix capabilities 😄 )

It's similar to the existing leap implementation, so it shouldnt be too hard to implement (as in, if i can get around to it, i'm open to implementing it).

For reference, Helix's implementation: https://github.com/helix-editor/helix/blob/c9d829a26dac81a57f18796308d3806d77d0c439/helix-term/src/commands.rs#L6109

dance's leap 71/dance@7bf1463/src/commands/seek.ts#L628

@71 71 added enhancement New feature or request good first issue Good for newcomers labels Jul 18, 2024
@71
Copy link
Owner

71 commented Jul 18, 2024

Ah, I wasn't aware of g w (which seems fairly new; it didn't work on 23.10 but it does work on 24.07).

It seems pretty useful and may indeed be better than leap (since it is fairly limited in Dance). With that said I don't have time to work on it myself, unfortunately.

@forivall
Copy link
Author

forivall commented Jul 18, 2024

Ah, yeah, looks like it's pretty new, and was added in 24.03 - helix-editor/helix#8875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants