How do I keep the current source selected when the pattern is updated? #2720
Unanswered
BettaGeorge
asked this question in
Q&A
Replies: 2 comments
-
Rayne ***@***.***> writes:
Very often, when I have a helm buffer with multiple sources, the following scenario happens:
I open helm. I type a few characters. They match things in two
sources. I hit <right> to switch to the second source since I know
that is where my thing is.
Use C-M-a at this point?
…
I see that the list is not narrowed down enough and type another
character. The second source shows my desired candidate now, but helm
switches back to the first source since some stuff there still
matches. I have to hit <right> again to get to my candidate even
though intuitively I did everything "right" to select it already.
I can do a hacky workaround where I save the currently selected source in a variable and then hook into the candidate update to switch back to the last value of that variable if available,
but surely there must be a better way to do this.
TL;DR: How can I stop helm from jumping back to the first candidate of the first source whenever the filtered candidate list changes?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.*Message ID: ***@***.***>
--
Thierry
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Fair, I can do that, but it is an additional keystroke. Would it not be reasonable behaviour to stay on the currently selected source at least once the user switches sources manually, without requiring an additional step in between? |
Beta Was this translation helpful? Give feedback.
0 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.
-
Very often, when I have a helm buffer with multiple sources, the following scenario happens:
I open helm. I type a few characters. They match things in two sources. I hit
<right>
to switch to the second source since I know that is where my thing is.I see that the list is not narrowed down enough and type another character.
The second source shows my desired candidate now, but helm switches back to the first source since some stuff there still matches.
I have to hit
<right>
again to get to my candidate even though intuitively I did everything "right" to select it already.I can do a hacky workaround where I save the currently selected source in a variable and then hook into the candidate update to switch back to the last value of that variable if available, but surely there must be a better way to do this.
TL;DR: How can I stop helm from jumping back to the first candidate of the first source whenever the filtered candidate list changes?
Beta Was this translation helpful? Give feedback.
All reactions