aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-11 19:56:41 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-11 19:59:34 +0200
commit1ca3227fc6dc1cb184724216db790a0d3e4152b3 (patch)
treeeb8aa3d5a89e84ce1232a61fa9db42cd7b1447dd
parent0341d038cae51415b30381e59b174070c547b05c (diff)
downloadvis-1ca3227fc6dc1cb184724216db790a0d3e4152b3.tar.gz
vis-1ca3227fc6dc1cb184724216db790a0d3e4152b3.tar.xz
Recognize g~ as case swap operator
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 087b678..c0fd91c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -209,6 +209,7 @@ static KeyBinding vis_operators[] = {
{ { NONE('<') }, operator, { .i = OP_SHIFT_LEFT } },
{ { NONE('g'), NONE('U') }, changecase, { .i = +1 } },
{ { NONE('~') }, changecase, { .i = 0 } },
+ { { NONE('g'), NONE('~') }, changecase, { .i = 0 } },
{ { NONE('g'), NONE('u') }, changecase, { .i = -1 } },
{ /* empty last element, array terminator */ },
};