Introduction
Introduction Statistics Contact Development Disclaimer Help
tvi: repeating case switching commands - neatvi - [fork] simple vi-type editor …
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit a7f36bdd3399c064e74f712a09f66ae464b4c192
parent 21fbb957e68be32c891d0acef4146ac095fe1654
Author: Ali Gholami Rudi <[email protected]>
Date: Sun, 20 Nov 2016 18:25:58 +0330
vi: repeating case switching commands
Diffstat:
M vi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vi.c b/vi.c
t@@ -1291,7 +1291,8 @@ static void vi(void)
continue;
}
cmd = term_cmd(&n);
- if (strchr("!<>ACDIJOPRSXYacdioprsxy~", c)) {
+ if (strchr("!<>ACDIJOPRSXYacdioprsxy~", c) ||
+ c == 'g' && strchr("uU~", k)) {
if (n < sizeof(rep_cmd)) {
memcpy(rep_cmd, cmd, n);
rep_len = n;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.