summaryrefslogtreecommitdiff
path: root/docs/tmux.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-02 09:38:04 +0300
committerPaul Buetow <paul@buetow.org>2026-07-02 09:38:04 +0300
commita68228bfa12f4d8a51fe53e244fcd2e66c1ef692 (patch)
tree94e257b21b93419fef655c9813f68190204c3d0d /docs/tmux.md
parent9f0e96ce62339ddefa8771891e0864ede9af5064 (diff)
Remove hexai-tmux-edit popup editor featurev0.42.0
The tmux popup editor and its per-agent detection (Cursor/Amp/Aider) added maintenance surface without enough use to justify it; Codex and Claude Code already support external-editor mode natively via Ctrl+G. Drops internal/tmuxedit, cmd/hexai-tmux-edit, the [tmux_edit] config schema, the Mage build target, and all related docs/README mentions. Bump version to 0.42.0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'docs/tmux.md')
-rw-r--r--docs/tmux.md33
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/tmux.md b/docs/tmux.md
index ba024e3..a5e397c 100644
--- a/docs/tmux.md
+++ b/docs/tmux.md
@@ -68,36 +68,3 @@ window_minutes = 60 # default 60; min 1, max 1440
```
- The tmux status shows the window as `Σ@1h` or `Σ@45m`.
-
-## Popup editor for AI agent prompts
-
-`hexai-tmux-edit` opens your `$EDITOR` in a tmux popup to compose longer prompts when working with AI CLI agents (Cursor, Amp, Aider, etc.).
-
-OpenAI Codex CLI and Claude Code CLI both support editing in an external editor natively via `Ctrl+G`, so neither needs a built-in `hexai-tmux-edit` agent profile.
-
-![Popup editor in action](tmux-edit-popup.png)
-
-The editor opens as a tmux popup overlay, pre-filled with any existing prompt text from the agent's input. After saving and closing, the text is sent back:
-
-![Text sent back to the agent](tmux-edit-result.png)
-
-*(Screenshots from the [original blog post](https://foo.zone/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html) showing the concept with Cursor Agent.)*
-
-Add this keybinding to `~/.tmux.conf`:
-
-```
-bind e run-shell -b "cd '#{pane_current_path}' && hexai-tmux-edit --pane '#{pane_id}'"
-```
-
-Then press `prefix + e` in any pane running an AI agent. Hexai auto-detects the agent, extracts any existing prompt text, and pre-fills the editor. After saving and closing, the edited text is sent back to the agent's pane.
-
-See the [configuration guide](configuration.md) for customizing popup dimensions and agent patterns, or the [usage guide](usage.md) for the full workflow description.
-
-**Input mode notes**: Each agent uses different clearing methods based on their input handling:
-- **Cursor**: Uses simple backspace clearing (`End BSpace*200`)
-- **Amp**: Uses Emacs/readline keybindings (`C-u`)
-- **Aider**: Uses Emacs/readline keybindings (`C-u`)
-
-The popup editor uses `$EDITOR` (or `$HEXAI_EDITOR`), so your normal vim/neovim setup is used for composing prompts.
-
-**Note**: Agent detection and prompt extraction rely on regex patterns matched against each agent's terminal UI (box-drawing characters, prompt symbols, status text). When agents update their TUI layout, these patterns may need adjustment. You can override patterns per-agent in `[[tmux_edit.agents]]` config without code changes -- see the [configuration guide](configuration.md).