about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--catgirl.12
-rw-r--r--ui.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/catgirl.1 b/catgirl.1
index e5d17b4..f11cae0 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -246,6 +246,8 @@ Redraw the UI.
 Switch to next window.
 .It Ic C-p
 Switch to previous window.
+.It Ic M-/
+Switch to previously selected window.
 .It Ic M-a
 Cycle through unread windows.
 .It Ic M-m
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);
a href='/src/commit/home/.config/cwm/cwmrc?id=8db86d36298a78e381771d63f1b17ced79712e21&follow=1'>Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe