summaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-07 17:58:32 +0300
committerPaul Buetow <paul@buetow.org>2025-09-07 17:58:32 +0300
commit3246ebcc5246ed357f45ac32234d5cd34922b9f3 (patch)
treec594f2fd2ebc01689574c721f4e85e1065a124c4 /docs/configuration.md
parent77e41a1018715fa5ac4e6156354710b3b224b4fc (diff)
test+docs: add editor tests; document HEXAI_EDITOR/EDITOR and Custom prompt; seam client in CLI for tests
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 11f23c1..e37f743 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -56,6 +56,12 @@ This is mostly useful when Helix runs in a [tmux](https://tmux.github.io/) sessi
- `--tmux-percent N` split size percentage (default: `33`).
- `--ui-child` internal; used by the parent process when spawning inside tmux.
+Editor integration
+
+- Hexai tries to launch your preferred editor when needed (e.g., TUI “Custom prompt”, CLI with no args).
+- Editor resolution: `HEXAI_EDITOR`, falling back to `EDITOR` when unset.
+- Invocation form: `EDITOR /tmp/hexai-XXXX.md` (a temporary Markdown file).
+
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: