From 15b83a7fd9dcc0dfba323cdacd0cb4f17966ff4d Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Thu, 8 Oct 2026 11:43:12 -0400 Subject: [PATCH] =?UTF-8?q?docs(docs):=20document=20ctrl+space=20binding?= =?UTF-8?q?=20and=20tmux=E2=80=91palette=20integration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/terminal/ghostty.mdx | 1 + docs/terminal/tmux.mdx | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) 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}