summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-09 08:17:05 -0500
committerJune McEnroe <june@causal.agency>2020-02-09 08:17:05 -0500
commit8ce6d4c37715f37b95dcb5a302438e7db4c00ad3 (patch)
tree810b301c6f312dda681c707f9edb66c7a6d988d4 /ui.c
parentAdd M-a (diff)
downloadcatgirl-8ce6d4c37715f37b95dcb5a302438e7db4c00ad3.tar.gz
catgirl-8ce6d4c37715f37b95dcb5a302438e7db4c00ad3.zip
Add M-/
Diffstat (limited to '')
-rw-r--r--ui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index ace7c1e..33d6a15 100644
--- a/ui.c
+++ b/ui.c
@@ -199,6 +199,7 @@ static void errExit(void) {
 	X(KeyMetaD, "\33d") \
 	X(KeyMetaF, "\33f") \
 	X(KeyMetaM, "\33m") \
+	X(KeyMetaSlash, "\33/") \
 	X(KeyFocusIn, "\33[I") \
 	X(KeyFocusOut, "\33[O") \
 	X(KeyPasteOn, "\33[200~") \
@@ -652,6 +653,8 @@ static void keyCode(int code) {
 		break; case KeyPasteOn:; // TODO
 		break; case KeyPasteOff:; // TODO
 
+		break; case KeyMetaSlash: windowShow(windows.other);
+
 		break; case KeyMetaA: showAuto();
 		break; case KeyMetaB: edit(id, EditPrevWord, 0);
 		break; case KeyMetaD: edit(id, EditDeleteNextWord, 0);