Skip to main content
Back to Commands
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

FlagDescription
-aList windows in all sessions
-F formatSpecify output format
-t target-sessionSpecify session

Examples

List windows in current session

bash
tmux list-windows

List windows in all sessions

bash
tmux lsw -a

Default Keybinding

Prefix + w (interactive)

Default prefix is Ctrl+b

Pro Tips

  • Prefix + w gives an interactive window picker with preview