vis

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

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

commit 2fb9aecd794c0e078d1a73d208a75a45e173b589
parent a077e4cb26c8ace4425b57e3d19a269e23ac0c6b
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sun, 26 Jul 2020 11:35:00 +0200

vis: use ~ instead of ! for selection complement

This seems more consistent with the typical set/bit operations.

Diffstat:
Mconfig.def.h | 2+-
Mman/vis.1 | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -133,7 +133,7 @@ static const KeyBinding bindings_selections[] = { { "M", ACTION(SELECTIONS_RESTORE) }, { "|", ACTION(SELECTIONS_UNION) }, { "&", ACTION(SELECTIONS_INTERSECT) }, - { "!", ACTION(SELECTIONS_COMPLEMENT) }, + { "~", ACTION(SELECTIONS_COMPLEMENT) }, { "\\", ACTION(SELECTIONS_MINUS) }, { "z|", ACTION(SELECTIONS_COMBINE_UNION) }, { "z&", ACTION(SELECTIONS_COMBINE_INTERSECT) }, diff --git a/man/vis.1 b/man/vis.1 @@ -1160,7 +1160,7 @@ set union set intersection .It Ic \e set minus -.It Ic \&! +.It Ic ~ set complement .It Ic z\&| pairwise union