diff --git a/docs/terminal/ghostty.mdx b/docs/terminal/ghostty.mdx index 3fcbae9..65939ee 100644 --- a/docs/terminal/ghostty.mdx +++ b/docs/terminal/ghostty.mdx @@ -54,6 +54,7 @@ Closing a window only detaches its session; the shells keep running in the tmux | `ctrl+plus` / `ctrl+minus` / `ctrl+zero` | Font size +1 / -1 / reset | | `ctrl+shift+.` | Reload Ghostty config | | `shift+enter` | Sends a literal newline | +| `ctrl+space` | Sends NUL (tmux `C-Space`): opens the [tmux command palette](/terminal/tmux#command-palette) | | Key | Sends | tmux action | | --- | --- | --- | diff --git a/docs/terminal/tmux.mdx b/docs/terminal/tmux.mdx index 489ada5..265de81 100644 --- a/docs/terminal/tmux.mdx +++ b/docs/terminal/tmux.mdx @@ -11,11 +11,11 @@ Terminal multiplexer. [Ghostty](/terminal/ghostty) runs nothing but tmux, and Gh | Target | `~/.config/tmux/` | | 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. +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. `dot_config/tmux-palette/` (→ `~/.config/tmux-palette/`) holds the [palette](#command-palette) config. ## Options -The prefix is `ctrl+space`; `ctrl+b` is `prefix2` (the byte Ghostty sends). +The prefix is `ctrl+b` (the byte Ghostty's `ctrl+shift` chords send). `ctrl+space` is not a prefix: it opens the [command palette](#command-palette). | Option | Value | | --- | --- | @@ -26,7 +26,7 @@ The prefix is `ctrl+space`; `ctrl+b` is `prefix2` (the byte Ghostty sends). | `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` | +| `set-titles` | `on`, `#S`: the terminal window title is the session name, so compositor window groups list sessions (one per Ghostty window) instead of `host:window` | | `automatic-rename-format` | `#{window_icon}