blob: 8bd3ea72e116fc0afb740f2fdd52dd157c544d3e (
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
|
# a look on path:NN opens the file with the target line CENTERED in the body
# (scroll = line - body/2): fresh open at a deep line, then dedup re-looks at
# the same path re-center the existing pane, and a look near line 1 clamps
# the scroll at 0 (no negative scroll)
lines big.txt 200
start 30 150 -n 3
wait 8000 big.txt
stable 700 20000
press left 5 8
release left 5 8
stable 400 5000
key i
text big.txt:100 big.txt:150 big.txt:2
key esc
settle 700
stable 400 5000
press right 7 8
release right 7 8
stable 700 15000
snap center-open
press right 18 15
release right 18 15
stable 700 15000
snap center-dedup
press right 30 15
release right 30 15
stable 700 15000
snap center-clamp
|