Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.