aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 077ed77..918f4c8 100644
--- a/main.c
+++ b/main.c
@@ -1306,6 +1306,8 @@ static const char *key2register(Vis *vis, const char *keys, enum VisRegister *re
return NULL;
if (keys[0] >= 'a' && keys[0] <= 'z')
*reg = keys[0] - 'a';
+ else if (keys[0] >= 'A' && keys[0] <= 'Z')
+ *reg = VIS_REG_A + keys[0] - 'A';
else if (keys[0] == '*' || keys[0] == '+')
*reg = VIS_REG_CLIPBOARD;
else if (keys[0] == '_')