vis

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

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

commit 921de31b2fa578c93015decfc21cb35e85cb5a4a
parent 14c9f3ff5496deb6ac059a77e3c47d0a306893d4
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 27 Oct 2016 15:43:59 +0200

test/vim: add more join related tests

Close #4

Diffstat:
Rvim/operators/join/join.in -> vim/operators/join/count.in | 0
Rvim/operators/join/join.keys -> vim/operators/join/count.keys | 0
Avim/operators/join/empty.in | 9+++++++++
Avim/operators/join/empty.keys | 7+++++++
Avim/operators/join/visual-line.in | 9+++++++++
Avim/operators/join/visual-line.keys | 4++++
Avim/operators/join/visual.in | 9+++++++++
Avim/operators/join/visual.keys | 4++++
Avim/operators/join/whitespace.in | 11+++++++++++
Avim/operators/join/whitespace.keys | 6++++++
10 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/vim/operators/join/join.in b/vim/operators/join/count.in diff --git a/vim/operators/join/join.keys b/vim/operators/join/count.keys diff --git a/vim/operators/join/empty.in b/vim/operators/join/empty.in @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/vim/operators/join/empty.keys b/vim/operators/join/empty.keys @@ -0,0 +1,6 @@ +j +J +J +J +J +J +\ No newline at end of file diff --git a/vim/operators/join/visual-line.in b/vim/operators/join/visual-line.in @@ -0,0 +1,9 @@ +1 +2 +3 +4 +5 +6 +7 +9 +10 diff --git a/vim/operators/join/visual-line.keys b/vim/operators/join/visual-line.keys @@ -0,0 +1,3 @@ +jV2jJ +/6<Enter> +VJ +\ No newline at end of file diff --git a/vim/operators/join/visual.in b/vim/operators/join/visual.in @@ -0,0 +1,9 @@ +first +second +third +fourth +fifth +sixth +seventh +eighth +ninth diff --git a/vim/operators/join/visual.keys b/vim/operators/join/visual.keys @@ -0,0 +1,4 @@ +/c<Enter> +v2gjJ +/x<Enter> +v2gjgJ diff --git a/vim/operators/join/whitespace.in b/vim/operators/join/whitespace.in @@ -0,0 +1,11 @@ + +non empty preceding line + join + +non empty preceding line white trailing white space + join + +empty preceding line + + join + diff --git a/vim/operators/join/whitespace.keys b/vim/operators/join/whitespace.keys @@ -0,0 +1,6 @@ +/join<Enter> +k$J +2n +k$J +n +k$J