Comment by pavel_lishin
11 hours ago
I'm familiar with ctrl-r, but I still very much like the up-arrow behavior described by that commenter.
11 hours ago
I'm familiar with ctrl-r, but I still very much like the up-arrow behavior described by that commenter.
What I love about the default Bash Crtl-C behaviour is that once a command has been located, the bash history is moved to the history of that command, until Enter is pressed.
That's great if I don't remember which command I was experimenting with, but I do know other commands that I did around that time (usually a file that I edited with VIM).
Looking at it from a "law of least surprise" angle, it's exactly how it should behave.
"I typed 'cd di↑' and you're giving me 'pwd'??"