blob: 38ca6e3b121658b8bebb28dc819dae6730be89b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# y -> p round-trips through the core's own yank register (regression: p used
# to request the SYSTEM clipboard via OSC 52, which plain terminals — and this
# harness — never answer, so paste silently no-oped). Pins helix placement:
# a linewise yank (x) pastes as whole lines below (p) / above (P), a charwise
# yank (v) splices inline after the selection.
lines f.txt 5
start 30 100 f.txt
wait 8000 Kill Newcol
wait 8000 line 5
stable 700 20000
# linewise: x-select line 2, yank, move down, paste below line 3
press left 8 4
release left 8 4
stable 400 5000
key x y j p
stable 400 5000
snap linewise-below
# P from the pasted line: its copy lands above
key x y P
stable 400 5000
snap linewise-above
# charwise: v-select two chars of line 1, yank, paste splices after them
press left 8 3
release left 8 3
stable 400 5000
key v l y p
stable 400 5000
snap charwise-inline
|