Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Putty Connection Manager which captures CTRL-R key before it can get to my bash shell.

So I was wondering if it is possible to map the reverse-history-search to another shortcut key. Such as CTRL-W or maybe even F1.

Any help would be appreciated.

share|improve this question
up vote 4 down vote accepted

Absolutely. The READLINE section of the bash(1) man page tells you what you need to do and how you need to do it. In short, modify ~/.inputrc and bind reverse-search-history to something else.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.