From 047f264fcff881ca8c52e274bf24733589809271 Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 21 Oct 2026 02:23:25 -0700 Subject: [PATCH] docs(ghostty): the index stops carrying a second copy of the reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tools/ghostty/index.md` had its own Custom Shaders section and its own eight-row default keybinding table. `configuration.md` owns both, in more detail, and the copies had already drifted: the index claimed `ctrl+` raises the font size where the reference's appendix lists `ctrl+=` / `ctrl++`. An index exists to route a reader to the page that owns the fact; a second summary of the same facts just guarantees two versions that age differently. What the index keeps is the routing plus the one fact worth having at hand (`ctrl+shift+,` reloads the config), and the config-syntax "Key Points" — repeatable options, `option = ""` resets, `?` optional includes — which the reference never states as a set, only per option. Refs #64 --- omp-docs/tools/ghostty/index.md | 36 +++++++++------------------------ 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/omp-docs/tools/ghostty/index.md b/omp-docs/tools/ghostty/index.md index 435824b..8922d28 100644 --- a/omp-docs/tools/ghostty/index.md +++ b/omp-docs/tools/ghostty/index.md @@ -88,35 +88,17 @@ palette-generate = true --- -## Custom Shaders +## Details that live in the reference -Ghostty supports Shadertoy-compatible GLSL shaders: +* [Custom Shaders](configuration.md#custom-shaders) — `custom-shader` (repeatable) and + `custom-shader-animation`, plus the uniform list (`iChannel0`, resolution, time, cursor, + palette, focus). +* [Default Keybindings](configuration.md#appendix-default-keybindings) — the full table. The one + you will want first: `ctrl+shift+,` runs `reload_config`. -```ini -custom-shader = ~/.config/ghostty/shaders/vignette.glsl -custom-shader-animation = true -``` - -Shaders receive uniforms for the terminal screen texture (`iChannel0`), cursor position, palette colors, and focus state. - ---- - -## Default Keybindings - -| Keybind | Action | -|---------|--------| -| `ctrl+shift+,` | `reload_config` | -| `ctrl+` / `ctrl+=` | `increase_font_size:1` | -| `ctrl+-` | `decrease_font_size:1` | -| `ctrl+0` | `reset_font_size` | -| `ctrl+shift+f` | `start_search` | -| `ctrl+shift+a` | `select_all` | -| `ctrl+Enter` | `toggle_fullscreen` | -| `ctrl+shift+P` | `toggle_command_palette` | - -See [Configuration Reference](configuration.md#appendix-default-keybindings) for the full table. - ---- +An earlier copy of this index carried its own eight-row keybinding table and its own shader +example. Both were subsets of the reference and neither was kept in step with it, which is the +usual fate of a second copy. ## Cross-References