aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-07-26 11:35:00 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-08-01 14:59:32 +0200
commit534c5096dabf570f79eb9c0ee42702ec41003265 (patch)
treec7e608f0b89e4d56b76d12cbf3bbb8bf289b08d6
parentef7f3ec0c53fc8b7ec193d292b4555d162219d8b (diff)
downloadvis-534c5096dabf570f79eb9c0ee42702ec41003265.tar.gz
vis-534c5096dabf570f79eb9c0ee42702ec41003265.tar.xz
vis: use ~ instead of ! for selection complement
This seems more consistent with the typical set/bit operations.
-rw-r--r--config.def.h2
-rw-r--r--man/vis.12
2 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index d99277c..ac00165 100644
--- 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
index 4e45b8c..b6356a2 100644
--- 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