aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-24 10:23:51 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-24 10:39:05 +0200
commit1b1cedc6666d99f6e9886439dca93278c47d131c (patch)
tree937b472f5e5f6323188c202b192836603dcfd65c /config.def.h
parent0c581075c55fe3c7839fdc293282a9544280bfab (diff)
downloadvis-1b1cedc6666d99f6e9886439dca93278c47d131c.tar.gz
vis-1b1cedc6666d99f6e9886439dca93278c47d131c.tar.xz
Implement 'gU' and 'gu'
This obviously only works for ascii characters.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 993f2a0..ba0c290 100644
--- a/config.def.h
+++ b/config.def.h
@@ -204,6 +204,8 @@ static KeyBinding vis_operators[] = {
{ { NONE('P') }, put, { .i = -1 } },
{ { NONE('>') }, operator, { .i = OP_SHIFT_RIGHT } },
{ { NONE('<') }, operator, { .i = OP_SHIFT_LEFT } },
+ { { NONE('g'), NONE('U') }, changecase, { .i = +1 } },
+ { { NONE('g'), NONE('u') }, changecase, { .i = -1 } },
{ /* empty last element, array terminator */ },
};