FG

Bind Ctrl-Tab to cycle through windows in tmux

Fresh3 days ago
Mar 15, 20264199 views
Confidence Score0%
0%

Problem

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.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bind Ctrl-Tab to cycle through windows in tmux

Low Risk

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.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment