-
Notifications
You must be signed in to change notification settings - Fork 23
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 Request: Select links with ivy rather than avy #38
Comments
Yes, I've mentioned wanting to add support for this in a comment in #14. It should be pretty easy. Run It might be slow if you wanted get all the links in an entire buffer (if big) though. |
- Add a generic selection helper for which avy and completing-read link selectors are built on top of - Allow customizing completing-read functions so different ones can be used for selecting an action, selecting one link, and selecting multiple links - Allow various ways of selecting actions after running a command (before with completing-read, during with avy-dispatch-alist or ivy actions, or after with completing-read); see updated readme Fixes #38 and #14. Also - Remove useless :group from defcustoms - Rename type valid and valid types functions do better clarify their purposes - Fix typo for markdown links (:parser -> :parse)
I had some time to work on this yesterday evening and also implemented #14. See the Note to self on what is left to do before merging:
|
Looking good. How would one write an ivy action that would navigate to the point where the link is? Also, do you think it makes sense to add better integration with ivy if ivy is loaded? While it's nice to make things generic, the majority of emacs will not customize things and I feel like it's better to make things as nice as possible out of the box. |
Right now, you could set
Is there some ivy-specific feature you want? If |
A dedicated action would be nice.
I was thinking of adding some fancier previewing using ivy-rich. I'll experiment a little more and report back. |
@noctuid Do you plan to add the |
After finding |
Interesting, I was not aware of |
After finding about |
Not sure if I understand exactly what functionality you want, but a large number of link-hint links/buttons are found using text or overlay properties, not regexp, so you couldn't replicate link-hint with an alternate completing-read interface with regexp alone. |
Sorry, I wasn't clear, I've read again the help for the variable |
Sometimes, it's more convenient to find the link/button by entering a substring rather than entering an avy code. It also makes it possible to select elements that are off the screen this way. Would it be possible something to have something like akin to
counsel-link-hint
?The text was updated successfully, but these errors were encountered: