3 ms·
I have following lines "\e[A": history-search-backward "\e[B": history-search-forward in my .inputrc for years. I think, this is how command line worked i
by delamon 16d ago
I have following lines
"\e[A": history-search-backward
"\e[B": history-search-forward
in my .inputrc for years. I think, this is how command line worked in tcsh.
It changes unconditional prev/next to prefix search. With empty command line it is the same as the old behavior. But if you enter "ls" and then press up-arrow, it will scroll through all commands in history that have "ls" as a prefix. I use it much more often than C-r.