diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 19:53:22 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2024-05-21 19:53:22 -0600 |
| commit | b7074021b7bfb0932b889b9560dd22df31cef818 (patch) | |
| tree | 0295b18de8fb8ea5289cbda95675687ae06025ff /test/vis/motions | |
| parent | b7f8018a00be930e3f2b864949aec1f91291309c (diff) | |
| parent | efafa3c178268a4149fc3e432bc1174a013c16de (diff) | |
Merge vis-tests into test directory
Going forward all tests should be submitted here directly.
Diffstat (limited to 'test/vis/motions')
51 files changed, 606 insertions, 0 deletions
diff --git a/test/vis/motions/line-begin.in b/test/vis/motions/line-begin.in new file mode 100644 index 0000000..0f3aa12 --- /dev/null +++ b/test/vis/motions/line-begin.in @@ -0,0 +1,13 @@ +0 To the first character of the line. +1 From start to start +2 From _ to start +3 From end to start 4 empty line \n 5 empty line \r\n + +
+ 6 Spaces + 7 Tabs + 8 Backspace + 9 Vertical tab + 10 Form feed +
11 Carriage return + 12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-begin.keys b/test/vis/motions/line-begin.keys new file mode 100644 index 0000000..07fd54e --- /dev/null +++ b/test/vis/motions/line-begin.keys @@ -0,0 +1,13 @@ ++ +d0+ +f_.+ +$.+ +.+ +./[0-9]+ <Enter> +.$n +.$n +.$n +.$n +.$n +.$n +99.$n diff --git a/test/vis/motions/line-begin.ref b/test/vis/motions/line-begin.ref new file mode 100644 index 0000000..1575cfa --- /dev/null +++ b/test/vis/motions/line-begin.ref @@ -0,0 +1,13 @@ +0 To the first character of the line. +1 From start to start +_ to start + + +
+6 Spaces +7 Tabs +8 Backspace +9 Vertical tab +10 Form feed +11 Carriage return +12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-char-first.in b/test/vis/motions/line-char-first.in new file mode 100644 index 0000000..35b8c73 --- /dev/null +++ b/test/vis/motions/line-char-first.in @@ -0,0 +1,13 @@ +^ To the first non-blank character of the line. +1 From start to start +2 From _ to start +3 From end to start 4 empty line \n 5 empty line \r\n + +
+ 6 Spaces + 7 Tabs + 8 Backspace + 9 Vertical tab + 10 Form feed +
11 Carriage return + 12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-char-first.keys b/test/vis/motions/line-char-first.keys new file mode 100644 index 0000000..28c8ce1 --- /dev/null +++ b/test/vis/motions/line-char-first.keys @@ -0,0 +1,13 @@ ++ +d^+ +f_.+ +$.+ +.+ +.+ +0.+ +0.+ +0.+ +0.+ +0.+ +0.+ +099.+ diff --git a/test/vis/motions/line-char-first.ref b/test/vis/motions/line-char-first.ref new file mode 100644 index 0000000..e417d16 --- /dev/null +++ b/test/vis/motions/line-char-first.ref @@ -0,0 +1,13 @@ +^ To the first non-blank character of the line. +1 From start to start +_ to start + + +
+6 Spaces +7 Tabs + 8 Backspace + 9 Vertical tab + 10 Form feed +
11 Carriage return +12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-char-last.in b/test/vis/motions/line-char-last.in new file mode 100644 index 0000000..c58af39 --- /dev/null +++ b/test/vis/motions/line-char-last.in @@ -0,0 +1,13 @@ +g_ To the last non-blank character of the line. +1 From start to end +2 From _ to end +3 From end to end 4 empty line \n 5 empty line \r\n + +
+6 Spaces +7 Tabs +8 Backspace +9 Vertical tab +10 Form feed +11 Carriage return
+12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-char-last.keys b/test/vis/motions/line-char-last.keys new file mode 100644 index 0000000..ecd36c6 --- /dev/null +++ b/test/vis/motions/line-char-last.keys @@ -0,0 +1,13 @@ ++ +dg_+ +f_.+ +$.+ +.+ +.+ +$.+ +$.+ +$.+ +$.+ +$.+ +$.+ +$99.+ diff --git a/test/vis/motions/line-char-last.ref b/test/vis/motions/line-char-last.ref new file mode 100644 index 0000000..948986a --- /dev/null +++ b/test/vis/motions/line-char-last.ref @@ -0,0 +1,13 @@ +g_ To the last non-blank character of the line. + +2 From +3 From end to end 4 empty line \n 5 empty line \r\ + +
+6 Space +7 Tab +8 Backspace +9 Vertical tab +10 Form feed +11 Carriage return +12 Idempotent (count has no effect diff --git a/test/vis/motions/line-end.in b/test/vis/motions/line-end.in new file mode 100644 index 0000000..e54bb63 --- /dev/null +++ b/test/vis/motions/line-end.in @@ -0,0 +1,13 @@ +$ To the end of the line. +1 From start to end +2 From _ to end +3 From end to end 4 empty line \n 5 empty line \r\n + +
+6 Spaces +7 Tabs +8 Backspace +9 Vertical tab +10 Form feed +11 Carriage return
+12 Idempotent (count has no effect) diff --git a/test/vis/motions/line-end.keys b/test/vis/motions/line-end.keys new file mode 100644 index 0000000..4cfdb79 --- /dev/null +++ b/test/vis/motions/line-end.keys @@ -0,0 +1,13 @@ ++ +d$+ +f_.+ +$.+ +.+ +.+ +2f<Space>.+ +2;.+ +2;.+ +2;.+ +2;.+ +2;.+ +2;99.+ diff --git a/test/vis/motions/line-end.ref b/test/vis/motions/line-end.ref new file mode 100644 index 0000000..b2dd26b --- /dev/null +++ b/test/vis/motions/line-end.ref @@ -0,0 +1,13 @@ +$ To the end of the line. + +2 From +3 From end to end 4 empty line \n 5 empty line \r\n + + + +7 Tabs +8 Backspace +9 Vertical +10 Form +11 Carriage +12 Idempotent diff --git a/test/vis/motions/next-end-of-bigword.in b/test/vis/motions/next-end-of-bigword.in new file mode 100644 index 0000000..26ec987 --- /dev/null +++ b/test/vis/motions/next-end-of-bigword.in @@ -0,0 +1,11 @@ +_start-word next +mid_dle-word next +end-word_ next + starting from a space + starting from a tab +a b c d : single letter words +skipping-tab next ++-*/\"'`^%&,;|_(){}<>[]=?! special symbols + +next line +word_at_end diff --git a/test/vis/motions/next-end-of-bigword.keys b/test/vis/motions/next-end-of-bigword.keys new file mode 100644 index 0000000..4bec703 --- /dev/null +++ b/test/vis/motions/next-end-of-bigword.keys @@ -0,0 +1,11 @@ +f_Er|+ +;E.+ +;E.+ +0E.+ +0E.+ +4E.+ +2E.+ +E.+ +E +.+ +E. diff --git a/test/vis/motions/next-end-of-bigword.ref b/test/vis/motions/next-end-of-bigword.ref new file mode 100644 index 0000000..fe57a91 --- /dev/null +++ b/test/vis/motions/next-end-of-bigword.ref @@ -0,0 +1,11 @@ +_start-wor| next +mid_dle-wor| next +end-word_ nex| + startin| from a space + startin| from a tab +a b c d | single letter words +skipping-tab nex| ++-*/\"'`^%&,;|_(){}<>[]=?| special symbols + +nex| line +word_at_en| diff --git a/test/vis/motions/next-end-of-word.in b/test/vis/motions/next-end-of-word.in new file mode 100644 index 0000000..d67d828 --- /dev/null +++ b/test/vis/motions/next-end-of-word.in @@ -0,0 +1,12 @@ +_start next +mid_dle next +end_ next + starting from a space + starting from a tab +a b c d : single letter words +tab next +word with count ++-*/\"'`^%&,;|_(){}<>[]=?! special symbols + +next line +word_at_end diff --git a/test/vis/motions/next-end-of-word.keys b/test/vis/motions/next-end-of-word.keys new file mode 100644 index 0000000..9aff65e --- /dev/null +++ b/test/vis/motions/next-end-of-word.keys @@ -0,0 +1,12 @@ +f_er|+ +;e.+ +;e.+ +0e.+ +0e.+ +4e.+ +2e.+ +2e.+ +e.+ +e +.+ +e. diff --git a/test/vis/motions/next-end-of-word.ref b/test/vis/motions/next-end-of-word.ref new file mode 100644 index 0000000..6510a23 --- /dev/null +++ b/test/vis/motions/next-end-of-word.ref @@ -0,0 +1,12 @@ +_star| next +mid_dl| next +end_ nex| + startin| from a space + startin| from a tab +a b c d | single letter words +tab nex| +word wit| count ++-*/\"'`^%&,;|_(){}<>[]=?! special symbols + +nex| line +word_at_en| diff --git a/test/vis/motions/next-start-of-bigword.in b/test/vis/motions/next-start-of-bigword.in new file mode 100644 index 0000000..4b9848d --- /dev/null +++ b/test/vis/motions/next-start-of-bigword.in @@ -0,0 +1,11 @@ +_start-word next +mid_dle-word next +end-word_ next + starting from a space + starting from a tab +a b c d : single letter words +tab next ++-*/\"'`^%&,;|_(){}<>[]=?! special symbols + +next line +word_at_end diff --git a/test/vis/motions/next-start-of-bigword.keys b/test/vis/motions/next-start-of-bigword.keys new file mode 100644 index 0000000..51112dc --- /dev/null +++ b/test/vis/motions/next-start-of-bigword.keys @@ -0,0 +1,11 @@ +f_Wr|+ +;W.+ +;W.+ +0W.+ +0W.+ +4W.+ +W.+ +W.+ +W +.+ +Wi<Enter>|<Escape> diff --git a/test/vis/motions/next-start-of-bigword.ref b/test/vis/motions/next-start-of-bigword.ref new file mode 100644 index 0000000..d015890 --- /dev/null +++ b/test/vis/motions/next-start-of-bigword.ref @@ -0,0 +1,12 @@ +_start-word |ext +mid_dle-word |ext +end-word_ |ext + |tarting from a space + |tarting from a tab +a b c d | single letter words +tab |ext ++-*/\"'`^%&,;|_(){}<>[]=?! |pecial symbols + +|ext line +word_at_end +| diff --git a/test/vis/motions/next-start-of-word.in b/test/vis/motions/next-start-of-word.in new file mode 100644 index 0000000..c1b55b6 --- /dev/null +++ b/test/vis/motions/next-start-of-word.in @@ -0,0 +1,12 @@ +_start next +mid_dle next +end_ next + starting from a space + starting from a tab +a b c d : single letter words +tab next ++-*/\"'`^%&,;|_(){}<>[]=?! special symbols +word with count + +next line +word_at_end diff --git a/test/vis/motions/next-start-of-word.keys b/test/vis/motions/next-start-of-word.keys new file mode 100644 index 0000000..b42c9f2 --- /dev/null +++ b/test/vis/motions/next-start-of-word.keys @@ -0,0 +1,12 @@ +f_wr|+ +;w.+ +;w.+ +0w.+ +0w.+ +4w.+ +w.+ +w.+ +2w.+ +w +.+ +wi<Enter>|<Escape> diff --git a/test/vis/motions/next-start-of-word.ref b/test/vis/motions/next-start-of-word.ref new file mode 100644 index 0000000..436964a --- /dev/null +++ b/test/vis/motions/next-start-of-word.ref @@ -0,0 +1,13 @@ +_start |ext +mid_dle |ext +end_ |ext + |tarting from a space + |tarting from a tab +a b c d | single letter words +tab |ext ++-*/\"'`^%&,;||(){}<>[]=?! special symbols +word with |ount + +|ext line +word_at_end +| diff --git a/test/vis/motions/percent.in b/test/vis/motions/percent.in new file mode 100644 index 0000000..8a1218a --- /dev/null +++ b/test/vis/motions/percent.in @@ -0,0 +1,5 @@ +1 +2 +3 +4 +5 diff --git a/test/vis/motions/percent.keys b/test/vis/motions/percent.keys new file mode 100644 index 0000000..daeb1ef --- /dev/null +++ b/test/vis/motions/percent.keys @@ -0,0 +1,3 @@ +50%i=<Escape> +1%i|<Escape> +100%. diff --git a/test/vis/motions/percent.ref b/test/vis/motions/percent.ref new file mode 100644 index 0000000..93cf66e --- /dev/null +++ b/test/vis/motions/percent.ref @@ -0,0 +1,6 @@ +|1 +2 +3= +4 +5 +|
\ No newline at end of file diff --git a/test/vis/motions/prev-end-of-bigword.in b/test/vis/motions/prev-end-of-bigword.in new file mode 100644 index 0000000..defda4e --- /dev/null +++ b/test/vis/motions/prev-end-of-bigword.in @@ -0,0 +1,10 @@ + +prev WORD-end_ +prev WORD-mid_dle +prev WORD-word _start +prev WORD-tab _ +starting from a space +starting from a tab +single letter words a b c d _ +special +-*/\"'`^%&,;|_(){}<>[]=?! +prev WORD-word with count _ diff --git a/test/vis/motions/prev-end-of-bigword.keys b/test/vis/motions/prev-end-of-bigword.keys new file mode 100644 index 0000000..a0c18c7 --- /dev/null +++ b/test/vis/motions/prev-end-of-bigword.keys @@ -0,0 +1,10 @@ +dgE+ +f_gEr|+ +;gE.+ +;gE.+ +;gE.+ +$hgE.+ +$hgE.+ +g_4gE.+ +$2gE.+ +;3gE.+ diff --git a/test/vis/motions/prev-end-of-bigword.ref b/test/vis/motions/prev-end-of-bigword.ref new file mode 100644 index 0000000..346778b --- /dev/null +++ b/test/vis/motions/prev-end-of-bigword.ref @@ -0,0 +1,10 @@ + +pre| WORD-end_ +pre| WORD-mid_dle +prev WORD-wor| _start +prev WORD-ta| _ +starting from a spac| +starting from a ta| +single letter words | b c d _ +specia| +-*/\"'`^%&,;|_(){}<>[]=?! +prev WORD-wor| with count _ diff --git a/test/vis/motions/prev-end-of-word.in b/test/vis/motions/prev-end-of-word.in new file mode 100644 index 0000000..7f6a80c --- /dev/null +++ b/test/vis/motions/prev-end-of-word.in @@ -0,0 +1,10 @@ + +prev word end_ +prev word mid_dle +prev word _start +prev word tab _ +starting from a space +starting from a tab +single letter words a b c d _ +special +-*/\"'`^%&,;|_(){}<>[]=?! +prev word with count _ diff --git a/test/vis/motions/prev-end-of-word.keys b/test/vis/motions/prev-end-of-word.keys new file mode 100644 index 0000000..d2b8ef4 --- /dev/null +++ b/test/vis/motions/prev-end-of-word.keys @@ -0,0 +1,10 @@ +dge+ +f_ger|+ +;ge.+ +;ge.+ +;ge.+ +$hge.+ +$hge.+ +g_4ge.+ +g_ge.+ +;3ge.+ diff --git a/test/vis/motions/prev-end-of-word.ref b/test/vis/motions/prev-end-of-word.ref new file mode 100644 index 0000000..7b30238 --- /dev/null +++ b/test/vis/motions/prev-end-of-word.ref @@ -0,0 +1,10 @@ + +prev wor| end_ +prev wor| mid_dle +prev wor| _start +prev word ta| _ +starting from a spac| +starting from a ta| +single letter words | b c d _ +special +-*/\"'`^%&,;||(){}<>[]=?! +prev wor| with count _ diff --git a/test/vis/motions/prev-start-of-bigword.in b/test/vis/motions/prev-start-of-bigword.in new file mode 100644 index 0000000..8f287f1 --- /dev/null +++ b/test/vis/motions/prev-start-of-bigword.in @@ -0,0 +1,9 @@ +prev WORD-end_ +prev WORD-mid_dle +prev WORD-word _start +prev WORD-tab _ +starting from space +starting from tab +single letter words a b c d _ +special symbols +-*/\"'`^%&,;|_(){}<>[]=?! +prev WORD-word with count _ diff --git a/test/vis/motions/prev-start-of-bigword.keys b/test/vis/motions/prev-start-of-bigword.keys new file mode 100644 index 0000000..037a2c7 --- /dev/null +++ b/test/vis/motions/prev-start-of-bigword.keys @@ -0,0 +1,10 @@ +dB +f_Br|+ +;B.+ +;B.+ +;B.+ +$hB.+ +$hB.+ +g_4B.+ +$B.+ +;3B.+ diff --git a/test/vis/motions/prev-start-of-bigword.ref b/test/vis/motions/prev-start-of-bigword.ref new file mode 100644 index 0000000..80ef519 --- /dev/null +++ b/test/vis/motions/prev-start-of-bigword.ref @@ -0,0 +1,9 @@ +prev |ORD-end_ +prev |ORD-mid_dle +prev |ORD-word _start +prev |ORD-tab _ +starting from |pace +starting from |ab +single letter words | b c d _ +special symbols |-*/\"'`^%&,;|_(){}<>[]=?! +prev |ORD-word with count _ diff --git a/test/vis/motions/prev-start-of-word.in b/test/vis/motions/prev-start-of-word.in new file mode 100644 index 0000000..23871b0 --- /dev/null +++ b/test/vis/motions/prev-start-of-word.in @@ -0,0 +1,9 @@ +prev word-end_ +prev word-mid_dle +prev word-word _start +prev word-tab _ +starting from space +starting from tab +single letter words a b c d _ +special symbols +-*/\"'`^%&,;|_(){}<>[]=?! +prev word-word with count _ diff --git a/test/vis/motions/prev-start-of-word.keys b/test/vis/motions/prev-start-of-word.keys new file mode 100644 index 0000000..a397494 --- /dev/null +++ b/test/vis/motions/prev-start-of-word.keys @@ -0,0 +1,10 @@ +db +f_br|+ +;b.+ +;b.+ +;b.+ +$hb.+ +$hb.+ +g_4b.+ +$b.+ +;3b.+ diff --git a/test/vis/motions/prev-start-of-word.ref b/test/vis/motions/prev-start-of-word.ref new file mode 100644 index 0000000..c75a3a5 --- /dev/null +++ b/test/vis/motions/prev-start-of-word.ref @@ -0,0 +1,9 @@ +prev word-|nd_ +prev word-|id_dle +prev word-|ord _start +prev word-|ab _ +starting from |pace +starting from |ab +single letter words | b c d _ +special symbols +-*/\"'`^%&,;|_|){}<>[]=?! +prev word-|ord with count _ diff --git a/test/vis/motions/till-left.in b/test/vis/motions/till-left.in new file mode 100644 index 0000000..2b1694a --- /dev/null +++ b/test/vis/motions/till-left.in @@ -0,0 +1,15 @@ +T{char} Till after [count]'th occurrence of {char} to the left. +1 till char c (T) +2 till char c with count (2T) +3 till char c using repeat and count (2;) +4 till char c in reverse direction with count (^2,) +5 till consecutive char ### with count (3T) +6 till consecutive char ### using repeat (;;;) +7 till consecutive char ### using repeat and count (3;) +8 till consecutive char ### in reverse direction with count (^3,) +9 delete # found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till æ unicode +13 till space +14 till tab diff --git a/test/vis/motions/till-left.keys b/test/vis/motions/till-left.keys new file mode 100644 index 0000000..44cb62f --- /dev/null +++ b/test/vis/motions/till-left.keys @@ -0,0 +1,15 @@ ++ +$Tcr|+ +$2Tc.+ +$2;.+ +^2,.+ +$3T#.+ +$;;;.+ +$3;.+ +^3,.+ +$d;+ +$d;+ +$d2;+ +$Tær|+ +$T<Space>.+ +$T<Tab>.+ diff --git a/test/vis/motions/till-left.ref b/test/vis/motions/till-left.ref new file mode 100644 index 0000000..fff633e --- /dev/null +++ b/test/vis/motions/till-left.ref @@ -0,0 +1,15 @@ +T{char} Till after [count]'th occurrence of {char} to the left. +1 till char c|(T) +2 till char c|with count (2T) +3 till char c|using repeat and count (2;) +4 till char|c in reverse direction with count (^2,) +5 till consecutive char #|# with count (3T) +6 till consecutive char #|# using repeat (;;;) +7 till consecutive char #|# using repeat and count (3;) +8 till consecutive char #|# in reverse direction with count (^3,) +9 delete # +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till æ|unicode +13 till |pace +14 till |tab diff --git a/test/vis/motions/till-right.in b/test/vis/motions/till-right.in new file mode 100644 index 0000000..c6202c9 --- /dev/null +++ b/test/vis/motions/till-right.in @@ -0,0 +1,15 @@ +t{char} Till before [count]'th occurrence of {char} to the right. +1 till char c (t) +2 till char c with count (2t) +3 till char c using repeat and count (2;) +4 till char c in reverse direction with count ($3,) +5 till consecutive char ### with count (3t#) +6 till consecutive char ### using repeat (;;;) +7 till consecutive char ### using repeat and count (3;) +8 till consecutive char ### in reverse direction with count ($3,) +9 delete # found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till unicode æ +13 till space +14 till tab diff --git a/test/vis/motions/till-right.keys b/test/vis/motions/till-right.keys new file mode 100644 index 0000000..5824698 --- /dev/null +++ b/test/vis/motions/till-right.keys @@ -0,0 +1,15 @@ ++ +tcr|+ +2tc.+ +2;.+ +$3,.+ +3t#.+ +;;;.+ +3;.+ +$3,.+ +d;+ +d;+ +d2;+ +tær|+ +t<Space>.+ +t<Tab>.+ diff --git a/test/vis/motions/till-right.ref b/test/vis/motions/till-right.ref new file mode 100644 index 0000000..d833df1 --- /dev/null +++ b/test/vis/motions/till-right.ref @@ -0,0 +1,15 @@ +t{char} Till before [count]'th occurrence of {char} to the right. +1 till|char c (t) +2 till char|c with count (2t) +3 till char|c using repeat and count (2;) +4 till char c|in reverse direction with count ($3,) +5 till consecutive char #|# with count (3t#) +6 till consecutive char #|# using repeat (;;;) +7 till consecutive char #|# using repeat and count (3;) +8 till consecutive char #|# in reverse direction with count ($3,) +# found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till unicode|æ +1| till space +14 till tab| diff --git a/test/vis/motions/to-left.in b/test/vis/motions/to-left.in new file mode 100644 index 0000000..f0dcde3 --- /dev/null +++ b/test/vis/motions/to-left.in @@ -0,0 +1,15 @@ +F{char} To [count]'th occurrence of {char} to the left. +1 find char c (F) +2 find char c with count (2F) +3 find char c using repeat and count (2;) +4 find char c in reverse direction with count (^2,) +5 find consecutive char ### with count (2F) +6 find consecutive char ### using repeat (;;) +7 find consecutive char ### using repeat and count (2;) +8 find consecutive char ### in reverse direction with count ($2,) +9 delete # found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till æ unicode +13 till space +14 till tab diff --git a/test/vis/motions/to-left.keys b/test/vis/motions/to-left.keys new file mode 100644 index 0000000..f4597a2 --- /dev/null +++ b/test/vis/motions/to-left.keys @@ -0,0 +1,15 @@ ++ +$Fcr|+ +$2Fc.+ +$2;.+ +^2,.+ +$2F#.+ +$;;.+ +$2;.+ +^2,.+ +$d;+ +$d;+ +$d2;+ +$Fær|+ +$F<Space>.+ +$F<Tab>.+ diff --git a/test/vis/motions/to-left.ref b/test/vis/motions/to-left.ref new file mode 100644 index 0000000..dc360f4 --- /dev/null +++ b/test/vis/motions/to-left.ref @@ -0,0 +1,15 @@ +F{char} To [count]'th occurrence of {char} to the left. +1 find char | (F) +2 find char | with count (2F) +3 find char | using repeat and count (2;) +4 find char | in reverse direction with count (^2,) +5 find consecutive char #|# with count (2F) +6 find consecutive char #|# using repeat (;;) +7 find consecutive char #|# using repeat and count (2;) +8 find consecutive char #|# in reverse direction with count ($2,) +9 delete +10 delete not found (d;) +11 delete invalid count # (d2;) +12 till | unicode +13 till|space +14 till | tab diff --git a/test/vis/motions/to-right.in b/test/vis/motions/to-right.in new file mode 100644 index 0000000..ed15516 --- /dev/null +++ b/test/vis/motions/to-right.in @@ -0,0 +1,15 @@ +f{char} To [count]'th occurrence of char to the right. +1 find char c (f) +2 find char c with count (2f) +3 find char c using repeat and count (2;) +4 find char c in reverse direction with count ($3,) +5 find consecutive char ### with count (2f#) +6 find consecutive char ### using repeat (;;) +7 find consecutive char ### using repeat and count (2;) +8 find consecutive char ### in reverse direction with count ($2,) +9 delete # found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 find unicode æ +13 find space +14 find tab diff --git a/test/vis/motions/to-right.keys b/test/vis/motions/to-right.keys new file mode 100644 index 0000000..ac1e51b --- /dev/null +++ b/test/vis/motions/to-right.keys @@ -0,0 +1,15 @@ ++ +fcr|+ +2fc.+ +2;.+ +$3,.+ +2f#.+ +;;.+ +2;.+ +$2,.+ +d;+ +d;+ +d2;+ +fær|+ +f<Space>.+ +f<Tab>.+ diff --git a/test/vis/motions/to-right.ref b/test/vis/motions/to-right.ref new file mode 100644 index 0000000..5265c38 --- /dev/null +++ b/test/vis/motions/to-right.ref @@ -0,0 +1,15 @@ +f{char} To [count]'th occurrence of char to the right. +1 find |har c (f) +2 find char | with count (2f) +3 find char | using repeat and count (2;) +4 find char | in reverse direction with count ($3,) +5 find consecutive char #|# with count (2f#) +6 find consecutive char #|# using repeat (;;) +7 find consecutive char #|# using repeat and count (2;) +8 find consecutive char #|# in reverse direction with count ($2,) + found (d;) +10 delete not found (d;) +11 delete invalid count # (d2;) +12 find unicode | +13|find space +14 find tab | |
