diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-01-31 16:54:58 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-02-02 19:40:38 +0100 |
commit | 21d905c076735783b41eec55f31d933129fd9f22 (patch) | |
tree | c188d4a2793a323cc2ce59137be65652249fa717 /config.def.h | |
parent | 9523233e257f72d07abdf3b07e5fd9ce0c7f31d0 (diff) | |
download | st-21d905c076735783b41eec55f31d933129fd9f22.tar.gz st-21d905c076735783b41eec55f31d933129fd9f22.tar.bz2 |
Make Shift+Home equal to CLS in ascii mode
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index d0fc186..b31d7d6 100644 --- a/config.def.h +++ b/config.def.h @@ -153,7 +153,8 @@ static uint ignoremod = Mod2Mask|XK_SWITCH_MOD; static Key key[] = { /* keysym mask string appkey appcursor crlf */ - { XK_KP_Home, ShiftMask, "\033[1;2H", 0, 0, 0}, + { XK_KP_Home, ShiftMask, "\033[2J", 0, -1, 0}, + { XK_KP_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, { XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1, 0}, { XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0}, { XK_KP_Up, XK_ANY_MOD, "\033Ox", +1, 0, 0}, @@ -246,7 +247,8 @@ static Key key[] = { { XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0, 0}, { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, - { XK_Home, ShiftMask, "\033[1;2H", 0, 0, 0}, + { XK_Home, ShiftMask, "\033[2J", 0, -1, 0}, + { XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, { XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0}, { XK_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0}, { XK_End, ControlMask, "\033[J", -1, 0, 0}, |