Of course. You're looking for a keyboard-driven way to jump to a window numbered 10 or higher, without typing a full command like select-window -t 10.
The standard method Prefix + [number] only works for single digits (0-9). For multi-digit windows, tmux has a dedicated key binding for this.
There are two excellent, command-free ways to do this.
Method 1: The "Select Window" Prompt (The Direct Answer)
This is the most direct way to type in a multi-digit number.
- Press your
Prefix key (usually Ctrl-b or Ctrl-a).
- Press the
' key (single quote).
A prompt will appear at the bottom of your screen that looks like this:
code
(select-window)
- Type the window number (e.g.,
12).
- Press
Enter.
You will immediately jump to window 12.
In short: Prefix + ' + 12 + Enter
Method 2: The Interactive Window List (Visually Better)
This is often faster if you don't remember the exact number but know the name, or if you just want to see all your windows.
- Press your
Prefix key.
- Press the
w key.
A full-screen, interactive list of all your windows and panes will appear.
code
(0) 0: bash* "server-one"
(1) 1: zsh "server-one"
(2) 2: top "server-one"
(3) 10: logs- "prod-db"
(4) 11: vim "prod-db"
-
Now, you can navigate this list:
- Use the Arrow Keys (
↑ / ↓) to highlight the window you want.
- Or, use Vim-style keys (
j for down, k for up).
- You can also just type the number (
10) and it will jump to that entry.
-
Press Enter to switch to the highlighted window.
In short: Prefix + w + (navigate) + Enter
Summary
| Method | Keystrokes (to go to window 12) | Best For... |
|---|
| Select Prompt | Prefix <strong>'</strong> 12 Enter | When you know the exact window number you want. |
| Window List | Prefix <strong>w</strong> ↓... Enter | Seeing all your options, navigating visually, or when you don't remember the number. |
Both methods avoid the tmux command line (Prefix :) and are the standard, built-in ways to handle this situation.