diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-07 08:57:04 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 08:57:04 +0300 |
| commit | f8e5ff8227c0cafb140767c9286dd598e7503e45 (patch) | |
| tree | 05a7cadd468ab3dfc364287b856aed37cfcce4ca /config.toml.example | |
| parent | d600ea8c411d5f9962a64ea52bba6ec21ac661be (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 'config.toml.example')
| -rw-r--r-- | config.toml.example | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/config.toml.example b/config.toml.example index 098600e..667724c 100644 --- a/config.toml.example +++ b/config.toml.example @@ -160,28 +160,16 @@ temperature = 0.2 # default_agent = "" # force agent name; skip auto-detect # Override or add agent definitions (merged with built-in defaults by name). -# Built-in agents (checked in order): cursor, claude, amp, aider. -# OpenAI Codex CLI already supports external editor mode via Ctrl+G, -# so no built-in codex tmux_edit agent profile is needed. +# Built-in agents (checked in order): cursor, amp, aider. +# OpenAI Codex CLI and Claude Code CLI both support external editor mode via +# Ctrl+G, so no built-in tmux_edit agent profiles are needed for them. # - cursor: Box UI │...│, clears with End+BSpace*200 -# - claude: Prompt symbol ❯, clears with C-a C-k (Emacs/readline) # - amp: Box UI │...│ (TUI mode), clears with C-u (Emacs/readline) # - aider: Shell-style > prompt, clears with C-u (Emacs/readline) # Tmux keybinding (add to ~/.tmux.conf): # bind e run-shell -b "cd '#{pane_current_path}' && hexai-tmux-edit --pane '#{pane_id}'" # [[tmux_edit.agents]] -# name = "claude" -# display_name = "Claude Code" -# detect_pattern = "(?i)(claude|anthropic)" -# prompt_pattern = '(?m)>\s*(.+)$' -# strip_patterns = [] -# clear_first = true -# clear_keys = "C-u" -# newline_keys = "S-Enter" -# submit_keys = "Enter" - -# [[tmux_edit.agents]] # name = "cursor" # display_name = "Cursor" # detect_pattern = "(?i)cursor" |
