vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit b6bd913a43e702761d09f1eeb5be59bb708ad812
parent 500449c8d8084d04db34b703485c4491a9cd2fe7
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed,  1 Feb 2017 18:32:57 +0100

Add regression tests for recently fixed bugs

Diffstat:
Avim/motions/goto.in | 3+++
Avim/motions/goto.keys | 6++++++
Mvim/operators/change/change.in | 2++
Mvim/operators/change/change.keys | 2++
Avim/operators/openline/openline.in | 3+++
Avim/operators/openline/openline.keys | 8++++++++
Avim/operators/put/visual.in | 2++
Avim/operators/put/visual.keys | 3+++
Avim/text-objects/words.in | 2++
Avim/text-objects/words.keys | 2++
Avis/structural-regex/addresses/marks.in | 1+
Avis/structural-regex/addresses/marks.keys | 6++++++
Avis/structural-regex/addresses/marks.ref | 1+
13 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/vim/motions/goto.in b/vim/motions/goto.in @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/vim/motions/goto.keys b/vim/motions/goto.keys @@ -0,0 +1,6 @@ +0G +olast line<Escape> +gg +Ofirst line<Escape> +3G +c$middle line<Escape> diff --git a/vim/operators/change/change.in b/vim/operators/change/change.in @@ -1 +1,3 @@ hello world +hello world +Bye! diff --git a/vim/operators/change/change.keys b/vim/operators/change/change.keys @@ -1 +1,3 @@ cwfoo<Escape>w. +2G +ccbar bar<Escape>. diff --git a/vim/operators/openline/openline.in b/vim/operators/openline/openline.in @@ -0,0 +1,3 @@ +=== +--- +=== diff --git a/vim/operators/openline/openline.keys b/vim/operators/openline/openline.keys @@ -0,0 +1,8 @@ +2Obefore<Escape> +2/===<Enter> +3. +gg +n +2oafter<Escape> +n +3. diff --git a/vim/operators/put/visual.in b/vim/operators/put/visual.in @@ -0,0 +1,2 @@ +longword +short diff --git a/vim/operators/put/visual.keys b/vim/operators/put/visual.keys @@ -0,0 +1,3 @@ +yejvep +a<Enter>newline +<Escape> diff --git a/vim/text-objects/words.in b/vim/text-objects/words.in @@ -0,0 +1,2 @@ +a +b diff --git a/vim/text-objects/words.keys b/vim/text-objects/words.keys @@ -0,0 +1 @@ +viwc-<Escape> +\ No newline at end of file diff --git a/vis/structural-regex/addresses/marks.in b/vis/structural-regex/addresses/marks.in @@ -0,0 +1 @@ +The quick brown fox jumps over the lazy dog. diff --git a/vis/structural-regex/addresses/marks.keys b/vis/structural-regex/addresses/marks.keys @@ -0,0 +1,6 @@ +:'a,'b { i/>/ a/</ }<Enter> +fq +ma +el +mb +:<Up><Enter> diff --git a/vis/structural-regex/addresses/marks.ref b/vis/structural-regex/addresses/marks.ref @@ -0,0 +1 @@ +The >quick< brown fox jumps over the lazy dog.