diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-01-31 14:18:25 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-02-02 19:30:38 +0100 |
commit | 9523233e257f72d07abdf3b07e5fd9ce0c7f31d0 (patch) | |
tree | bac3352cc0587d4188a0aee3c5d538f7d3efb271 | |
parent | d2173cd7162f89df4acaf9da8a30b5e5c0f2b9ab (diff) | |
download | st-9523233e257f72d07abdf3b07e5fd9ce0c7f31d0.tar.gz st-9523233e257f72d07abdf3b07e5fd9ce0c7f31d0.tar.bz2 |
Make CONTROL + DELETE delete a line
If CONTROL + INSERT inserts a line then it seems natural CONTROL + DELETE
removes a line.
-rw-r--r-- | config.def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 4664416..d0fc186 100644 --- a/config.def.h +++ b/config.def.h @@ -184,7 +184,7 @@ static Key key[] = { { XK_KP_Insert, ControlMask, "\033[2;5~", +1, 0, 0}, { XK_KP_Insert, XK_ANY_MOD, "\033[4h", -1, 0, 0}, { XK_KP_Insert, XK_ANY_MOD, "\033[2~", +1, 0, 0}, - { XK_KP_Delete, ControlMask, "\033[2J", -1, 0, 0}, + { XK_KP_Delete, ControlMask, "\033[M", -1, 0, 0}, { XK_KP_Delete, ControlMask, "\033[3;5~", +1, 0, 0}, { XK_KP_Delete, ShiftMask, "\033[2K", -1, 0, 0}, { XK_KP_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, @@ -240,7 +240,7 @@ static Key key[] = { { XK_Insert, ControlMask, "\033[2;5~", +1, 0, 0}, { XK_Insert, XK_ANY_MOD, "\033[4h", -1, 0, 0}, { XK_Insert, XK_ANY_MOD, "\033[2~", +1, 0, 0}, - { XK_Delete, ControlMask, "\033[2J", -1, 0, 0}, + { XK_Delete, ControlMask, "\033[M", -1, 0, 0}, { XK_Delete, ControlMask, "\033[3;5~", +1, 0, 0}, { XK_Delete, ShiftMask, "\033[2K", -1, 0, 0}, { XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, |