docs(ghostty): the index stops carrying a second copy of the reference

`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
This commit is contained in:
Frank
2026-10-21 02:23:25 -07:00
parent 54bb0202c2
commit 047f264fcf
+9 -27
View File
@@ -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