You can use ctrl+r for commands which are similar (say ssh to n number of servers, so the up/down would still take some amount of browsing the options)
Just tag commands with a # at the end
> $ complex command here # tagHere
Later use the tag with ctrl+r
I do this all the time
> ssh 127.0.0.1 # master