From 62ddbfa97f7376cd0a3189d4ff6944ebd67cebac Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 1 Feb 2026 21:30:14 +0200 Subject: Update content for gemtext --- gemfeed/.tmux-edit-send.HGCGOt.md | 1 + ...02-tmux-popup-editor-for-cursor-agent-prompts.gmi | 18 ++++++++++++++++++ gemfeed/atom.xml | 20 +++++++++++++++++++- 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 gemfeed/.tmux-edit-send.HGCGOt.md (limited to 'gemfeed') diff --git a/gemfeed/.tmux-edit-send.HGCGOt.md b/gemfeed/.tmux-edit-send.HGCGOt.md new file mode 100644 index 00000000..c056abcc --- /dev/null +++ b/gemfeed/.tmux-edit-send.HGCGOt.md @@ -0,0 +1 @@ +to the blog post ./2026-02-02-tmux-popup.....tpl can you also add an ascii diagram of the workflow of the tool diff --git a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi index 95f4e4c1..e7b99c3f 100644 --- a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi +++ b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.gmi @@ -10,6 +10,7 @@ * ⇢ ⇢ Why I built this * ⇢ ⇢ What it is * ⇢ ⇢ How it works (overview) +* ⇢ ⇢ ⇢ Workflow diagram * ⇢ ⇢ Challenges and small discoveries * ⇢ ⇢ Test cases (for a future rewrite) * ⇢ ⇢ (Almost) works with any editor (or any TUI) @@ -55,6 +56,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 diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 284af613..1b78b084 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2026-02-01T21:02:02+02:00 + 2026-02-01T21:29:22+02:00 foo.zone feed To be in the .zone! @@ -31,6 +31,7 @@
  • Why I built this
  • What it is
  • How it works (overview)
  • +
  • ⇢ ⇢ Workflow diagram
  • Challenges and small discoveries
  • Test cases (for a future rewrite)
  • (Almost) works with any editor (or any TUI)
  • @@ -77,6 +78,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:

    Prefilled prompt text
    -- cgit v1.2.3