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
{{ message }}
Repository navigation
autosuggestion hides the same history navigation item #405
I found that I can not use 'Up' key to get the last item from the history if item is autosuggested.
For example:
echo test_string #Enterecho tes<Cursor>
echo test_string is then autosuggested and I can not get it from the history by pressing 'UP' key. This is very annoying, since it requires distinguishing which key should be pressed: Up or CtrlF.
I can see two ways of solving this: whether use Up key to use autosuggestion first, either not to delete autosuggested item from the history.
Offtopic: I see that people mostly do not read the issues and so they do not comment. There could be some other place for discussing ambiguous topics. Perhaps mailing list is good for it, since everybody is already there. Or there could be some polls. What do you think?
Probably get the last item when there's nothing being auto suggested. If I have removed last few characters with backspace from command, then I have to manually type next character to get auto suggestion.
another problem with hiding last history item:
you can move through history freely by up/down as much as you want. But there is no way (or I'm missing it) to undo the applied autosuggestion. If autosuggestion is too long it's end is hidden and you can not see the tokens in the end. To see the tail you have to apply the autosuggestion. But if the command turns out to be not the command you want, you can not go to the previous history item, because autosuggestion is applied and up/down navigation doesn't work anymore.
Activity
ridiculousfish commentedon Nov 25, 2012
This is by design - I found it annoying to press Up and be offered the same option that I was already looking at.
maxfl commentedon Nov 25, 2012
then I see that both attitudes are annoying. What should be chosen?
ridiculousfish commentedon Nov 29, 2012
Let's hear any ideas about how these features should interact.
maxfl commentedon Nov 29, 2012
Offtopic: I see that people mostly do not read the issues and so they do not comment. There could be some other place for discussing ambiguous topics. Perhaps mailing list is good for it, since everybody is already there. Or there could be some polls. What do you think?
siteshwar commentedon Nov 29, 2012
Probably get the last item when there's nothing being auto suggested. If I have removed last few characters with backspace from command, then I have to manually type next character to get auto suggestion.
maxfl commentedon Dec 18, 2012
another problem with hiding last history item:
you can move through history freely by up/down as much as you want. But there is no way (or I'm missing it) to undo the applied autosuggestion. If autosuggestion is too long it's end is hidden and you can not see the tokens in the end. To see the tail you have to apply the autosuggestion. But if the command turns out to be not the command you want, you can not go to the previous history item, because autosuggestion is applied and up/down navigation doesn't work anymore.
Cycle through *all* matching history
krader1961 commentedon Mar 19, 2017
Closing. No comments in 4.3 years to justify changing the current behavior.
gagarine commentedon Oct 16, 2018
I installed fish, and that was the first things I searched. The current behaviors is inconsistent.