--- title: tmux description: tmux prefix, bindings, kitty-style window tabs with Nerd Font icons, and resurrect/continuum persistence. --- Terminal multiplexer. [Ghostty](/terminal/ghostty) runs nothing but tmux, and Ghostty's `ctrl+shift` chords are tmux bindings. tmux is also used through the kitty tmux host and remotely on goliath. | | | | --- | --- | | Source | `dot_config/tmux/tmux.conf`, `dot_config/tmux/tmux-nerd-font-window-name.yml`, `dot_config/tmux/executable_tab-label.sh`, `dot_config/tmux/executable_niri-title.sh`, `dot_config/omarchy/themed/tmux.conf.tpl`, `dot_config/omarchy/hooks/theme-set.d/executable_tmux-tabs` | | Target | `~/.config/tmux/`, `~/.config/omarchy/` | | Install | `tmux` in `.chezmoidata/packages.yaml` (pacman, brew) | tpm is a `git-repo` external in `.chezmoiexternal.toml`, cloned to `~/.config/tmux/plugins/tpm` when missing. `tmux.conf` ends with `run '~/.config/tmux/plugins/tpm/tpm'`. Plugins installed by tpm (`prefix I`) land next to it and are ignored by chezmoi. ## Options The prefix is `ctrl+space`; `ctrl+b` is `prefix2` (the byte Ghostty sends). | Option | Value | | --- | --- | | `default-terminal` | `tmux-256color`; `RGB` override for every terminal; `clipboard` feature; `extkeys` for xterm-kitty | | `extended-keys` | `on`, format `csi-u` | | `base-index` / `pane-base-index` | `1` / `1`; `renumber-windows on` | | `status-position` | `top`, `status-interval 5` | | `allow-passthrough` / `set-clipboard` / `mouse` / `focus-events` | `on` | | `update-environment` | `TERM` and `TERM_PROGRAM` appended, so programs see the outer terminal (Ghostty/kitty) | | `mode-keys` | `vi` | | `set-titles` | `on`, `#h:#W` | | `automatic-rename-format` | `#{window_icon}