News for hackers. Stuff that matters.
Re:A redditor explains how to make readline and bash more us... by pacemkr on Sunday September 11, 2011 @08:23PM (#2985310)
It is annoying. Generally happens to me when I "miss" the thing I was searching for and go too far. This is what I do:

    Ctrl + a, Ctrl + k (move to beginning, delete to end), Enter
Going to a new line, resets that index.

I'm sure there is a better way, but its muscle memory for me.

Re:A redditor explains how to make readline and bash more us... by daemianmack on Monday September 12, 2011 @08:39AM (#2986980)
ctrl+c should cancel the search, saving you the line-editing workaround.