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

Feature requst: post-hop actions #3

Open
postsolar opened this issue Dec 15, 2023 · 2 comments
Open

Feature requst: post-hop actions #3

postsolar opened this issue Dec 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@postsolar
Copy link

postsolar commented Dec 15, 2023

Maybe I missed something in the README but I'm not seeing a way to execute actions after the selection has been selected. Is something like this currently possible?

I was going to add two commands examples to the README, for adding a selection as a new cursor and extending current selection. These would start with Z before the hop and end with <a-z>a and <a-z>u respectively after the hop.

I could maybe dig into source code to see what happens and what could be hooked into, but I think it would be awesome to have an established interface for this.

@postsolar
Copy link
Author

Another use case is that it would maybe also enable user-controlled dimming.

@hadronized
Copy link
Owner

Yep, I thought about that. It could be part of a next release, indeed. Currently, what the binary does is simply taking your selections, and filtering them (by saving setting the ^ register and resuming with Z).

@hadronized hadronized added the enhancement New feature or request label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants