diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 622499e..3d406d4 100644 --- a/config.def.h +++ b/config.def.h @@ -80,16 +80,24 @@ static Key key[] = { { XK_BackSpace, XK_NO_MOD, "\177", 0, 0, 0}, { XK_Up, XK_NO_MOD, "\033[A", 0, -1, 0}, { XK_Up, XK_NO_MOD, "\033OA", 0, +1, 0}, - { XK_Up, ShiftMask, "\033[a", 0, 0, 0}, + { XK_Up, ShiftMask, "\033[1;2A", 0, 0, 0}, + { XK_Up, ControlMask, "\033[1;5A", 0, 0, 0}, + { XK_Up, Mod1Mask, "\033[1;3A", 0, 0, 0}, { XK_Down, XK_NO_MOD, "\033[B", 0, -1, 0}, { XK_Down, XK_NO_MOD, "\033OB", 0, +1, 0}, - { XK_Down, ShiftMask, "\033[b", 0, 0, 0}, + { XK_Down, ShiftMask, "\033[1;2B", 0, 0, 0}, + { XK_Down, ControlMask, "\033[1;5B", 0, 0, 0}, + { XK_Down, Mod1Mask, "\033[1;3B", 0, 0, 0}, { XK_Left, XK_NO_MOD, "\033[D", 0, -1, 0}, { XK_Left, XK_NO_MOD, "\033OD", 0, +1, 0}, - { XK_Left, ShiftMask, "\033[d", 0, 0, 0}, + { XK_Left, ShiftMask, "\033[1;2D", 0, 0, 0}, + { XK_Left, ControlMask, "\033[1;5D", 0, 0, 0}, + { XK_Left, Mod1Mask, "\033[1;3D", 0, 0, 0}, { XK_Right, XK_NO_MOD, "\033[C", 0, -1, 0}, { XK_Right, XK_NO_MOD, "\033OC", 0, +1, 0}, - { XK_Right, ShiftMask, "\033[c", 0, 0, 0}, + { XK_Right, ShiftMask, "\033[1;2C", 0, 0, 0}, + { XK_Right, ControlMask, "\033[1;5C", 0, 0, 0}, + { XK_Right, Mod1Mask, "\033[1;3C", 0, 0, 0}, { XK_Return, XK_NO_MOD, "\n", 0, 0, -1}, { XK_Return, XK_NO_MOD, "\r\n", 0, 0, +1}, { XK_Return, Mod1Mask, "\033\n", 0, 0, -1}, |