add ^G escape keybinding

This commit is contained in:
Karl F 2012-01-19 22:52:17 +00:00
parent 7707111c10
commit 50145384c8
2 changed files with 4 additions and 0 deletions

View file

@ -107,6 +107,9 @@ End
C\-f
Right
.TP
C\-g
Escape
.TP
C\-h
Backspace
.TP

View file

@ -251,6 +251,7 @@ keypress(XKeyEvent *ev) {
case XK_d: ksym = XK_Delete; break;
case XK_e: ksym = XK_End; break;
case XK_f: ksym = XK_Right; break;
case XK_g: ksym = XK_Escape; break;
case XK_h: ksym = XK_BackSpace; break;
case XK_i: ksym = XK_Tab; break;
case XK_j: ksym = XK_Return; break;