vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 7ce4e407a36dc745867f349bb75e8c5b261b7635 parent a9f938b1a4437445f772661b629d340f5d6aa5bd Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 13 Jan 2017 17:55:46 +0100 test/vis: tweak structural regex tests to take new selection into account Diffstat:
| M | vis/structural-regex/addresses/round-down.keys | | | 3 | ++- |
| M | vis/structural-regex/addresses/round-up.keys | | | 3 | ++- |
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/vis/structural-regex/addresses/round-down.keys b/vis/structural-regex/addresses/round-down.keys @@ -1,4 +1,5 @@ :/Left/,/Right/<Enter> -:{ i/|/ a/|/ }<Enter> +:{ i/|/ a/|/ }<Enter><Escape><Escape> +:0/Left/,0/Right/<Enter> :-0+,+0-<Enter> :{ i/>>\n/ a/<<\n/ }<Enter> diff --git a/vis/structural-regex/addresses/round-up.keys b/vis/structural-regex/addresses/round-up.keys @@ -1,4 +1,5 @@ :/Left/,/Right/<Enter> -:{ i/|/ a/|/ }<Enter> +:{ i/|/ a/|/ }<Enter><Escape><Escape> +:0/Left/,0/Right/<Enter> :-0,+0<Enter> :{ i/>>\n/ a/<<\n/ }<Enter>