You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I press the key for HistorySearchBackward or HistorySearchForward, 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:
I typed git s and pressed the key HistorySeachBackward key. It suggested git s|tatus. With part after cursor greyed.
I pressed HistorySearchBackward key twice. It suggested git s|tash pop.
If I press backspace here(because I wanted to git log), it gives git |tash pop. I was expecting characters after cursor to be greyed here and show git |status or git |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/HistorySearchForward key press?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I press the key for
HistorySearchBackward
orHistorySearchForward
, 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 s
and 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 |status
orgit |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
/HistorySearchForward
key press?Beta Was this translation helpful? Give feedback.
All reactions