Window ManagementPrefix + w (interactive)
list-windows
Short form: lsw
List windows in a session. With -a, list all windows in all sessions.
Synopsis
bash
tmux list-windows [-a] [-F format] [-f filter] [-t target-session]Options
| Flag | Description |
|---|---|
| -a | List windows in all sessions |
| -F format | Specify output format |
| -t target-session | Specify session |
Examples
List windows in current session
bash
tmux list-windowsList windows in all sessions
bash
tmux lsw -aDefault Keybinding
Prefix + w (interactive)
Default prefix is Ctrl+b
Pro Tips
- •Prefix + w gives an interactive window picker with preview