diff options
| author | Stephen Paul Weber <singpolyma@singpolyma.net> | 2014-10-19 12:24:38 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-10-19 12:30:55 +0200 |
| commit | b37f9e461798ba77e19ab20d7ca18555d1171e19 (patch) | |
| tree | 21f6f03638c63c8be091a1ae5049bf804d998367 /config.def.h | |
| parent | e036fb2faf73a590b5c119160e3fabd8844ff44c (diff) | |
| download | vis-b37f9e461798ba77e19ab20d7ca18555d1171e19.tar.gz vis-b37f9e461798ba77e19ab20d7ca18555d1171e19.tar.xz | |
Toggle case operator
In vim, :set tildeop to get this behaviour
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 9cd686a..832a975 100644 --- a/config.def.h +++ b/config.def.h @@ -217,6 +217,7 @@ static KeyBinding vis_operators[] = { { { NONE('>') }, operator, { .i = OP_SHIFT_RIGHT } }, { { NONE('<') }, operator, { .i = OP_SHIFT_LEFT } }, { { NONE('g'), NONE('U') }, changecase, { .i = +1 } }, + { { NONE('~') }, changecase, { .i = 0 } }, { { NONE('g'), NONE('u') }, changecase, { .i = -1 } }, { /* empty last element, array terminator */ }, }; |
