diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-01 21:30:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-01 21:30:13 +0200 |
| commit | 18edf5bf828497e0b002557dbdeb97f914fb1d26 (patch) | |
| tree | bd73bc0abf5358b426607acb0759956babc56d5a /gemfeed | |
| parent | ff1ca5bbd1fd88b41ee7f40fe500efb462f9e61e (diff) | |
Update content for html
Diffstat (limited to 'gemfeed')
| -rw-r--r-- | gemfeed/.tmux-edit-send.HGCGOt.md | 1 | ||||
| -rw-r--r-- | gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html | 18 | ||||
| -rw-r--r-- | gemfeed/atom.xml | 20 |
3 files changed, 38 insertions, 1 deletions
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.html b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html index 9979c31d..fba191d1 100644 --- a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html +++ b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html @@ -24,6 +24,7 @@ <li>⇢ <a href='#why-i-built-this'>Why I built this</a></li> <li>⇢ <a href='#what-it-is'>What it is</a></li> <li>⇢ <a href='#how-it-works-overview'>How it works (overview)</a></li> +<li>⇢ ⇢ <a href='#workflow-diagram'>Workflow diagram</a></li> <li>⇢ <a href='#challenges-and-small-discoveries'>Challenges and small discoveries</a></li> <li>⇢ <a href='#test-cases-for-a-future-rewrite'>Test cases (for a future rewrite)</a></li> <li>⇢ <a href='#almost-works-with-any-editor-or-any-tui'>(Almost) works with any editor (or any TUI)</a></li> @@ -70,6 +71,23 @@ bind-key e run-shell -b "tmux display-message -p '#{pane_id}' \"~/scripts/tmux-edit-send /tmp/tmux-edit-target-#{client_pid}\"" </pre> <br /> +<h3 style='display: inline' id='workflow-diagram'>Workflow diagram</h3><br /> +<br /> +<span>This is the whole workflow:</span><br /> +<br /> +<pre> +┌────────────────────┐ ┌───────────────┐ ┌─────────────────────┐ ┌─────────────────────┐ +│ 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 │ +└────────────────────┘ └────────────────────┘ └────────────────────┘ └────────────────────┘ +</pre> +<br /> <span>And this is how it looks like after sending back the text to the Cursor Agent's input:</span><br /> <br /> <a href='./tmux-popup-editor-for-cursor-agent-prompts/demo2.png'><img alt='Prefilled prompt text' title='Prefilled prompt text' src='./tmux-popup-editor-for-cursor-agent-prompts/demo2.png' /></a><br /> diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 8960e1cf..7d0a7d2d 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> - <updated>2026-02-01T21:02:02+02:00</updated> + <updated>2026-02-01T21:29:22+02:00</updated> <title>foo.zone feed</title> <subtitle>To be in the .zone!</subtitle> <link href="https://foo.zone/gemfeed/atom.xml" rel="self" /> @@ -31,6 +31,7 @@ <li>⇢ <a href='#why-i-built-this'>Why I built this</a></li> <li>⇢ <a href='#what-it-is'>What it is</a></li> <li>⇢ <a href='#how-it-works-overview'>How it works (overview)</a></li> +<li>⇢ ⇢ <a href='#workflow-diagram'>Workflow diagram</a></li> <li>⇢ <a href='#challenges-and-small-discoveries'>Challenges and small discoveries</a></li> <li>⇢ <a href='#test-cases-for-a-future-rewrite'>Test cases (for a future rewrite)</a></li> <li>⇢ <a href='#almost-works-with-any-editor-or-any-tui'>(Almost) works with any editor (or any TUI)</a></li> @@ -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}\"" </pre> <br /> +<h3 style='display: inline' id='workflow-diagram'>Workflow diagram</h3><br /> +<br /> +<span>This is the whole workflow:</span><br /> +<br /> +<pre> +┌────────────────────┐ ┌───────────────┐ ┌─────────────────────┐ ┌─────────────────────┐ +│ 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 │ +└────────────────────┘ └────────────────────┘ └────────────────────┘ └────────────────────┘ +</pre> +<br /> <span>And this is how it looks like after sending back the text to the Cursor Agent's input:</span><br /> <br /> <a href='./tmux-popup-editor-for-cursor-agent-prompts/demo2.png'><img alt='Prefilled prompt text' title='Prefilled prompt text' src='./tmux-popup-editor-for-cursor-agent-prompts/demo2.png' /></a><br /> |
