How to make HistorySearchBackward/HistorySearchForward results be greyed out inline suggestion? #4828
Unanswered
Numan Zaheer Ahmed (Anutrix)
asked this question in
Q&A
Replies: 0 comments
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.
When I press the key for
HistorySearchBackwardorHistorySearchForward, I want greyed out suggestions.It should not automatically set current line as accepted.
I want acceptance to be explicit by right-arrow or tab press.
In other words, after pressing key for
HistorySearchBackward, suggestions from history with cursor in same place should be shown.The issue it is causing me is that it pressing backspace after above keys are pressed accepts result from history.
For example, let's say:
git sand pressed the key HistorySeachBackward key. It suggestedgit s|tatus. With part after cursor greyed.git s|tash pop.git |tash pop.I was expecting characters after cursor to be greyed here and show
git |statusorgit |stash. With part after cursor greyed.Note:
|is stand-in for cursor in this example.Is there a way to do this?
Normally, pressing same characters(or backspace) as in inline history suggestions does not disable suggestions. Why is this disabled after
HistorySearchBackward/HistorySearchForwardkey press?All reactions