summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-01 21:29:16 +0200
committerPaul Buetow <paul@buetow.org>2026-02-01 21:29:16 +0200
commitef61abe66da377c298265d06d61ee3f91b16242f (patch)
treeb9e5feacfcd293d454946db5fdb9f4936e55651a
parent41a944923d438002969e84f33c9d92660f3b1728 (diff)
Update
-rw-r--r--gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi.tpl b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi.tpl
index 93a011e8..be18b66d 100644
--- a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi.tpl
+++ b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi.tpl
@@ -47,6 +47,23 @@ bind-key e run-shell -b "tmux display-message -p '#{pane_id}'
\"~/scripts/tmux-edit-send /tmp/tmux-edit-target-#{client_pid}\""
```
+### Workflow diagram
+
+This is the whole workflow:
+
+```
+┌────────────────────┐ ┌───────────────┐ ┌─────────────────────┐ ┌─────────────────────┐
+│ Cursor input box │-->| tmux keybind │-->| popup runs script │-->| capture + prefill │
+│ (prompt pane) │ │ prefix + e │ │ tmux-edit-send │ │ temp file │
+└────────────────────┘ └───────────────┘ └─────────────────────┘ └─────────────────────┘
+ |
+ v
+┌────────────────────┐ ┌────────────────────┐ ┌────────────────────┐ ┌────────────────────┐
+│ Cursor input box │<--| send-keys back |<--| close editor+popup |<--| edit temp file |
+│ (prompt pane) │ │ to original pane │ │ (exit $EDITOR) │ │ in $EDITOR │
+└────────────────────┘ └────────────────────┘ └────────────────────┘ └────────────────────┘
+```
+
And this is how it looks like after sending back the text to the Cursor Agent's input:
=> ./tmux-popup-editor-for-cursor-agent-prompts/demo2.png Prefilled prompt text