add ^G escape keybinding
This commit is contained in:
parent
7707111c10
commit
50145384c8
3
dmenu.1
3
dmenu.1
@ -107,6 +107,9 @@ End
|
|||||||
C\-f
|
C\-f
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
|
C\-g
|
||||||
|
Escape
|
||||||
|
.TP
|
||||||
C\-h
|
C\-h
|
||||||
Backspace
|
Backspace
|
||||||
.TP
|
.TP
|
||||||
|
1
dmenu.c
1
dmenu.c
@ -251,6 +251,7 @@ keypress(XKeyEvent *ev) {
|
|||||||
case XK_d: ksym = XK_Delete; break;
|
case XK_d: ksym = XK_Delete; break;
|
||||||
case XK_e: ksym = XK_End; break;
|
case XK_e: ksym = XK_End; break;
|
||||||
case XK_f: ksym = XK_Right; break;
|
case XK_f: ksym = XK_Right; break;
|
||||||
|
case XK_g: ksym = XK_Escape; break;
|
||||||
case XK_h: ksym = XK_BackSpace; break;
|
case XK_h: ksym = XK_BackSpace; break;
|
||||||
case XK_i: ksym = XK_Tab; break;
|
case XK_i: ksym = XK_Tab; break;
|
||||||
case XK_j: ksym = XK_Return; break;
|
case XK_j: ksym = XK_Return; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user