master
C. McEnroe 2020-02-09 08:17:05 -05:00
parent 16316679a1
commit 8ce6d4c377
2 changed files with 5 additions and 0 deletions

View File

@ -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

3
ui.c
View File

@ -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);