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 trying to figure out how to bind ctrl-tab to cycle through all open windows, I've tried: bind-key -n C-Tab select-window -t :.+ which says Unknown key.

What am I missing?

Note: I don't want to use my prefix keys prior to pressing ctrl-tab, I just want ctrl-tab to cycle through all the panes.

share|improve this question
up vote 3 down vote accepted

In my terminal (OS X terminal), when I press C-Tab it treats it the same as a normal tab. To work around that issue you can modify your terminal settings to bind C-Tab to F20 and in tmux bind F20 to next-window.

share|improve this answer
Any info on redefining that? xmodmap or something similar? It's not anything I've ever done. – Rob Jan 9 '12 at 17:06
What terminal are you using? – Ammar Alammar Jan 9 '12 at 17:16
I use debian and rxvt, but shouldn't there be a way to do it system wide (so if I'm in TTY it'd still work?) – Rob Jan 9 '12 at 17:52
I'm really not that expert on terminal emulation, but as far as I know, keys to their internal representations mapping is handled by the terminal emulator. For your problem, googling around I found that putting URxvt.keysym.C-Tab: ^[[19;2~ in your ~/.Xresources binds C-Tab to F20. References: 1 2 3 – Ammar Alammar Jan 9 '12 at 18:38
That's perfect, thanks! – Rob Jan 9 '12 at 19:12

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.