X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=config.def.h;h=3a2e38befa9471c73d251e2ee862ec0d45696f10;hb=1cbe56026b1003d96d81c17e43ff21d1b0064b21;hp=7a7262cc532c3504634856956193130f8eaf1fb4;hpb=927d8fb45971ddf0eac115ad04161aba6bbd8bc7;p=st.git diff --git a/config.def.h b/config.def.h index 7a7262c..3a2e38b 100644 --- a/config.def.h +++ b/config.def.h @@ -88,6 +88,12 @@ static Shortcut shortcuts[] = { * position for a key. */ +/* + * If you want something else but the function keys of X11 (0xFF00 - 0xFFFF) + * mapped below, add them to this array. + */ +static KeySym mappedkeys[] = { -1 }; + /* key, mask, output, keypad, cursor, crlf */ static Key key[] = { /* keysym mask string keypad cursor crlf */ @@ -164,6 +170,7 @@ static Key key[] = { { XK_Insert, XK_ANY_MOD, "\033[2~", 0, 0, 0}, { XK_Delete, ShiftMask, "\033[3;2~", 0, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", 0, 0, 0}, + { XK_Home, XK_NO_MOD, "\033[1~", 0, 0, 0}, { XK_Home, ShiftMask, "\033[1;2H", 0, 0, 0}, { XK_Home, XK_ANY_MOD, "\033[H", 0, 0, 0}, { XK_End, ShiftMask, "\033[1;2F", 0, 0, 0},