<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scratchpad on aitasks</title><link>https://www.aitasks.io/docs/tuis/scratchpad/</link><description>Recent content in Scratchpad on aitasks</description><generator>Hugo</generator><language>en</language><atom:link href="https://www.aitasks.io/docs/tuis/scratchpad/index.xml" rel="self" type="application/rss+xml"/><item><title>How-To Guides</title><link>https://www.aitasks.io/docs/tuis/scratchpad/how-to/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.aitasks.io/docs/tuis/scratchpad/how-to/</guid><description>&lt;h2 id="take-notes-beside-an-agent"&gt;Take notes beside an agent&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In &lt;a href="https://www.aitasks.io/docs/tuis/minimonitor/"&gt;&lt;code&gt;ait minimonitor&lt;/code&gt;&lt;/a&gt;, make sure the
agent you want notes for is the &lt;strong&gt;followed&lt;/strong&gt; agent — the one pinned at the top.&lt;/li&gt;
&lt;li&gt;Press &lt;strong&gt;o&lt;/strong&gt;. A scratchpad opens in a split of that agent&amp;rsquo;s pane, below it by
default, and the agent&amp;rsquo;s window comes to the front.&lt;/li&gt;
&lt;li&gt;Move tmux focus into the new pane — click it, or use your tmux pane keys
(&lt;code&gt;Ctrl-b&lt;/code&gt; + arrow by default) — and type.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The header reads &lt;code&gt;t&amp;lt;id&amp;gt; · saved&lt;/code&gt; once the notes are loaded and owned by this pane.
From then on, saving is automatic; &lt;strong&gt;ctrl+s&lt;/strong&gt; forces a save, and &lt;strong&gt;ctrl+q&lt;/strong&gt; closes
the pad after one final save.&lt;/p&gt;</description></item><item><title>Feature Reference</title><link>https://www.aitasks.io/docs/tuis/scratchpad/reference/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.aitasks.io/docs/tuis/scratchpad/reference/</guid><description>&lt;h2 id="keybindings"&gt;Keybindings&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Key&lt;/th&gt;
 &lt;th&gt;Action&lt;/th&gt;
 &lt;th&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+s&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Save now&lt;/td&gt;
 &lt;td&gt;In a pad that cannot save, it shows the current state instead&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+q&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Save and quit&lt;/td&gt;
 &lt;td&gt;Attempts one final save, reports a failure as it exits, then closes. A read-only or unsaved pad closes at once. The command palette&amp;rsquo;s Quit does the same&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+c&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Copy&lt;/td&gt;
 &lt;td&gt;The selection, or &lt;strong&gt;all&lt;/strong&gt; the notes when nothing is selected. Goes to the system clipboard by OSC 52 and, inside tmux, to a tmux paste buffer&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+x&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Cut&lt;/td&gt;
 &lt;td&gt;The selection, or the current line when nothing is selected. Same clipboard routes as &lt;code&gt;ctrl+c&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+v&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Paste&lt;/td&gt;
 &lt;td&gt;What was last copied or cut &lt;strong&gt;in this pad&lt;/strong&gt; — not the system clipboard. Use your terminal&amp;rsquo;s paste for that&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;ctrl+z&lt;/code&gt; / &lt;code&gt;ctrl+y&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Undo / redo&lt;/td&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Every other key belongs to the editor: letters type, and arrows, &lt;strong&gt;shift&lt;/strong&gt; + arrows
(select), &lt;strong&gt;Home&lt;/strong&gt;/&lt;strong&gt;End&lt;/strong&gt; and the rest behave as in any text field.&lt;/p&gt;</description></item></channel></rss>