3 ms·
> they're basically using emacs controls But not well implemented! You're supposed to be able to edit your search string, and I've never found a way.
by throwanem 9y ago
> they're basically using emacs controls
But not well implemented! You're supposed to be able to edit your search string, and I've never found a way.
- LukeShu 9y agoHuh? Backspace works the same for me in Bash C-r as it does in Emacs C-r.
- throwanem 9y agoIt never does anywhere for me. Good to know it's supposed to, though; maybe I've got something mapped weird, or the versions of the shell I'm using are old enough to be unwelcoming in this way, or I don't know what, but knowing it's not by design means there's a fix to be found for it. Thanks!
- jmiserez 9y agoYou should try hstr (https://github.com/dvorka/hstr https://github.com/dvorka/hstr). It replaces CTRL-R with a full page interactive history search that really works. Demo GIF here: https://unix.stackexchange.com/a/375914 https://unix.stackexchange.com/a/375914