From 54aa859adc8c96e8bc6551c0c7d40446144c98ea Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Sep 2025 14:42:00 +0300 Subject: docs: document simplify action prompts; update examples and flags; add simplify entries to config.toml.example --- docs/configuration.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/configuration.md') 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}}`) -- cgit v1.2.3