summaryrefslogtreecommitdiff
path: root/docs/usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-07 08:57:04 +0300
committerPaul Buetow <paul@buetow.org>2026-04-07 08:57:04 +0300
commitf8e5ff8227c0cafb140767c9286dd598e7503e45 (patch)
tree05a7cadd468ab3dfc364287b856aed37cfcce4ca /docs/usage.md
parentd600ea8c411d5f9962a64ea52bba6ec21ac661be (diff)
feat: remove tmux edit popup support for Claude Code
Claude Code CLI now supports Ctrl+G to open the prompt in EDITOR (like OpenAI Codex CLI), making the built-in hexai-tmux-edit agent profile redundant. - Remove internal/tmuxedit/claude_agent.go and its tests - Update builtinAgents() to exclude claude; built-ins are now: cursor, amp, aider - Update all documentation (README, docs/tmux.md, docs/usage.md, docs/configuration.md) - Update config.toml.example to reflect new agent list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docs/usage.md')
-rw-r--r--docs/usage.md13
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/usage.md b/docs/usage.md
index 8824a44..0786a00 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -250,9 +250,9 @@ Tips:
`hexai-tmux-edit` opens your `$EDITOR` in a tmux popup for composing longer AI agent prompts. It captures existing prompt text from the target pane, pre-fills the editor, and sends the edited text back via `tmux send-keys`.
-This is useful when working with AI CLI agents (Claude Code, Cursor, Amp, Aider, etc.) and you need to compose a longer, multi-line prompt with the comfort of your regular editor (spellcheck, search/replace, etc.).
+This is useful when working with AI CLI agents (Cursor, Amp, Aider, etc.) and you need to compose a longer, multi-line prompt with the comfort of your regular editor (spellcheck, search/replace, etc.).
-OpenAI Codex CLI is not a built-in `hexai-tmux-edit` agent. Codex already supports editing in an external editor via `Ctrl+G`.
+OpenAI Codex CLI and Claude Code CLI are not built-in `hexai-tmux-edit` agents. Both support editing in an external editor natively via `Ctrl+G`.
### Supported agents
@@ -261,17 +261,14 @@ Built-in agent detection (auto-detected from pane content, checked in order):
1. **Cursor** -- detects box-drawing UI `│ →` or footer `/ commands · @ files`
- Clears with: `End BSpace*200` (backspace method)
- Prompt pattern: Extracts from last `│...│` box
-2. **Claude Code** -- detects `❯` prompt symbol, "claude code", or "anthropic"
- - Clears with: `C-a C-k` (Emacs/readline style)
- - Prompt pattern: Extracts from last section between `─────` rules
-3. **Amp** -- detects "amp" or "sourcegraph" in pane (TUI mode)
+2. **Amp** -- detects "amp" or "sourcegraph" in pane (TUI mode)
- Clears with: `C-u` (Emacs/readline style)
- Prompt pattern: Extracts from `│...│` box UI (similar to Cursor)
-4. **Aider** -- detects "aider" in pane
+3. **Aider** -- detects "aider" in pane
- Clears with: `C-u` (Emacs/readline style)
- Prompt pattern: Shell-style `> prompt`
-**Detection order matters**: Cursor and Claude are checked first to avoid false positives. For example, Cursor may display "Claude 4.5 Sonnet" as its model name, but Cursor's distinctive `│ →` box UI is matched first.
+**Detection order matters**: Cursor is checked first to avoid false positives. For example, Cursor may display "Claude 4.5 Sonnet" as its model name, but Cursor's distinctive `│ →` box UI is matched first.
Additional agents can be added via `[tmux_edit.agents]` in config.toml without code changes.