summaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-07 14:42:00 +0300
committerPaul Buetow <paul@buetow.org>2025-09-07 14:42:00 +0300
commit54aa859adc8c96e8bc6551c0c7d40446144c98ea (patch)
treec1fcea2cec46671f0719b5f61b17f8648ba9bc53 /docs/configuration.md
parent4c93677c79983560eea13c372a20ed78f02af4f9 (diff)
docs: document simplify action prompts; update examples and flags; add simplify entries to config.toml.example
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 09ff519..11f23c1 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -51,9 +51,13 @@ This is mostly useful when Helix runs in a [tmux](https://tmux.github.io/) sessi
- Flags:
- `--infile` Read input from the given file instead of stdin.
- `--outfile` Write output to the given file instead of stdout (truncates/creates).
- - `--tmux` force tmux-pane mode.
- - `--no-tmux` disable tmux mode even if available.
- `--tmux-target` tmux target pane/window (advanced).
- `--tmux-split v|h` split orientation (default: `v`).
- `--tmux-percent N` split size percentage (default: `33`).
- `--ui-child` internal; used by the parent process when spawning inside tmux.
+
+Code action prompts
+
+- All prompts can be customized under `[prompts.code_action]` in `config.toml`. In addition to `rewrite_*`, `diagnostics_*`, `document_*`, and `go_test_*`, the following templates control the “Simplify and improve” action:
+ - `simplify_system`
+ - `simplify_user` (uses `{{selection}}`)