summaryrefslogtreecommitdiff
path: root/src/tutor.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-07 22:12:33 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commitc4cb26fe6f061dd4bcfb9e9df7b7d4e4d434d10a (patch)
treefc962242ab7cca1688f620aff4ec99eef2561053 /src/tutor.txt
parentaea460be8577be92b0910f1eb007fc99aab4ef30 (diff)
downloadpardes-c4cb26fe6f061dd4bcfb9e9df7b7d4e4d434d10a.tar.gz
pardes-c4cb26fe6f061dd4bcfb9e9df7b7d4e4d434d10a.zip
acme mouse chords: 1-2 Cut / 1-3 Paste while a left selection drag holds (both in one hold = Snarf/copy; the chorded left release is inert), plus 2-3 / 3-1 / 3-2 cancel an execute or look drag mid-gesture (the 2-1 argument chord already existed). chordcut.snap covers cut/copy/paste and both cancels; tutor documents the chords.
Diffstat (limited to 'src/tutor.txt')
-rw-r--r--src/tutor.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/tutor.txt b/src/tutor.txt
index 815cd4f7..f61ef8cc 100644
--- a/src/tutor.txt
+++ b/src/tutor.txt
@@ -66,12 +66,24 @@
opens/focuses a terminal there and ls's it; a file opens
a file pane (scrolled to a ":line" suffix if present).
- SELECT-THEN-ACT: there is no held-button chord. Instead:
+ SELECT-THEN-ACT:
- MIDDLE-drag over text selects AND runs it on release (one gesture);
a no-drag middle click auto-expands to the word under the cursor.
- or select with the keyboard (`v` chars / `x` lines), then press
Tab to execute or Enter to look — the acme chords on the keyboard.
+ CHORDS (acme's held-button combos):
+ 1-2 hold LEFT on a selection, tap MIDDLE: Cut it into the yank
+ register (the snarf buffer).
+ 1-3 hold LEFT, tap RIGHT: Paste the register over the selection,
+ or splice it in at a bare click point. So 1-2 then 1-3 in the
+ SAME hold = copy (Snarf): the text comes back, the register
+ keeps it. After a chord the left release is inert.
+ 2-1 hold a MIDDLE drag over a command, tap LEFT: the kept left
+ selection rides along as the command's ARGUMENT.
+ 2-3 / 3-1 / 3-2 tapping the other button during a MIDDLE (execute)
+ or RIGHT (look) drag CANCELS the gesture.
+
THE TAG: each pane has a one-line tag: its MODE (NOR/INS/TTY) + directory
or file path + builtins. File panes show "Save Del" by default; Save
writes the current file to disk, Del closes the window. Clicking a tag
@@ -393,6 +405,8 @@
MOUSE (acme): L select/focus+pin M execute R look(open)
select-then-act: middle-drag, or v/x then Tab
+ chords: 1-2 cut 1-3 paste (both in one hold = snarf)
+ 2-1 = middle-exec with the left selection as argument
file tag = mode + path + "Save Del"; other tags show Del
top bar = Kill Newcol Tutor Debug Colors NextColor
TTY: a terminal IS a pane; Ctrl-b toggles the live shell by default,