Add M-/
parent
16316679a1
commit
8ce6d4c377
|
@ -246,6 +246,8 @@ Redraw the UI.
|
||||||
Switch to next window.
|
Switch to next window.
|
||||||
.It Ic C-p
|
.It Ic C-p
|
||||||
Switch to previous window.
|
Switch to previous window.
|
||||||
|
.It Ic M-/
|
||||||
|
Switch to previously selected window.
|
||||||
.It Ic M-a
|
.It Ic M-a
|
||||||
Cycle through unread windows.
|
Cycle through unread windows.
|
||||||
.It Ic M-m
|
.It Ic M-m
|
||||||
|
|
3
ui.c
3
ui.c
|
@ -199,6 +199,7 @@ static void errExit(void) {
|
||||||
X(KeyMetaD, "\33d") \
|
X(KeyMetaD, "\33d") \
|
||||||
X(KeyMetaF, "\33f") \
|
X(KeyMetaF, "\33f") \
|
||||||
X(KeyMetaM, "\33m") \
|
X(KeyMetaM, "\33m") \
|
||||||
|
X(KeyMetaSlash, "\33/") \
|
||||||
X(KeyFocusIn, "\33[I") \
|
X(KeyFocusIn, "\33[I") \
|
||||||
X(KeyFocusOut, "\33[O") \
|
X(KeyFocusOut, "\33[O") \
|
||||||
X(KeyPasteOn, "\33[200~") \
|
X(KeyPasteOn, "\33[200~") \
|
||||||
|
@ -652,6 +653,8 @@ static void keyCode(int code) {
|
||||||
break; case KeyPasteOn:; // TODO
|
break; case KeyPasteOn:; // TODO
|
||||||
break; case KeyPasteOff:; // TODO
|
break; case KeyPasteOff:; // TODO
|
||||||
|
|
||||||
|
break; case KeyMetaSlash: windowShow(windows.other);
|
||||||
|
|
||||||
break; case KeyMetaA: showAuto();
|
break; case KeyMetaA: showAuto();
|
||||||
break; case KeyMetaB: edit(id, EditPrevWord, 0);
|
break; case KeyMetaB: edit(id, EditPrevWord, 0);
|
||||||
break; case KeyMetaD: edit(id, EditDeleteNextWord, 0);
|
break; case KeyMetaD: edit(id, EditDeleteNextWord, 0);
|
||||||
|
|
Loading…
Reference in New Issue