Context specific history at the bash prompt
One change I made recently to my .profile is this:
# up & down map to history search once a command has been started. bind '"\e[A":history-search-backward' bind '"\e[B":history-search-forward'
These two bind command change the way that the up and down arrow keys work once you start typing a command to only search the history for lines that start with what you’ve typed so far.
This means that I type, say, git and then press ↑ & ↓ to go through all the times I’ve typed a git command without having to go through all the other commands.
It’s quite handy and I find it easier to use than ctrl+r.