Sample Header Ad - 728x90

Single shortcut to forward search after Ctrl-R reverse search

17 votes
3 answers
12581 views
I use Ctrl+R all the time, but I often end up going past the command I'm after as I'm pressing it so quickly. To forward search, Ctrl+S can be used provided it's not used the terminal first (konsole in my case, in which stty -ixon in ~/.bashrc fixes it). However, I have to press it twice: once it seems to enter i-search after being in reverse-i-search mode and a second time to actually step backwards. Is there a way to remove the need for pressing the shortcut twice?
Asked by jozxyqk (742 rep)
Mar 24, 2017, 08:43 PM
Last activity: Mar 26, 2025, 10:49 PM