vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit a89b1a36c761b2f61335d2ebac1079fb6eb1971c parent 39df927d36d51f15b7600808c6785b366112539b Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 26 Jul 2020 11:30:31 +0200 test/vis: use ~ instead of ! to complement selection Diffstat:
| M | vis/selections/complement-whole.keys | | | 2 | +- |
| M | vis/selections/complement.keys | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vis/selections/complement-whole.keys b/vis/selections/complement-whole.keys @@ -1,3 +1,3 @@ :x <Enter> -! +~ :i/|/ <Enter> diff --git a/vis/selections/complement.keys b/vis/selections/complement.keys @@ -1,4 +1,4 @@ :x/.*/ x/./ g2 <Enter> -! +~ :y/\n/ <Enter> :v-1 { i/[/ a/]/ } <Enter>