Replies: 1 comment 4 replies
-
|
You can use an after advice and use the current line as isearch-string. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm trying to customize consult-line to integrate into the way I use isearch. I love consult-line as my primary way of searching in a file, what I want now is that when I press "enter" and go to the result, the result gets set as isearch-string.
I looked at the source and I saw that consult--read allows setting a custom keymap (with which I could wrap vertico-exit which seems to be the default). But I don't know how to add that
:keymapwithout copying tons of code.Any ideas on how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions