6

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.

1 Answer 1

4

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.

4
  • Any info on redefining that? xmodmap or something similar? It's not anything I've ever done.
    – Rob
    Jan 9, 2012 at 17:06
  • What terminal are you using? Jan 9, 2012 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, 2012 at 17:52
  • 1
    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 Jan 9, 2012 at 18:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .