sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

st-delkey-20201112-4ef0cbd.diff (1193B)


      1 --- config.def.h.orig	2020-11-12 20:23:48.867954750 +0100
      2 +++ config.def.h	2020-11-12 20:21:15.055922720 +0100
      3 @@ -276,7 +276,7 @@
      4  	{ XK_KP_Delete,     ControlMask,    "\033[3;5~",    +1,    0},
      5  	{ XK_KP_Delete,     ShiftMask,      "\033[2K",      -1,    0},
      6  	{ XK_KP_Delete,     ShiftMask,      "\033[3;2~",    +1,    0},
      7 -	{ XK_KP_Delete,     XK_ANY_MOD,     "\033[P",       -1,    0},
      8 +	{ XK_KP_Delete,     XK_ANY_MOD,     "\033[3~",       -1,    0},
      9  	{ XK_KP_Delete,     XK_ANY_MOD,     "\033[3~",      +1,    0},
     10  	{ XK_KP_Multiply,   XK_ANY_MOD,     "\033Oj",       +2,    0},
     11  	{ XK_KP_Add,        XK_ANY_MOD,     "\033Ok",       +2,    0},
     12 @@ -344,7 +344,7 @@
     13  	{ XK_Delete,        ControlMask,    "\033[3;5~",    +1,    0},
     14  	{ XK_Delete,        ShiftMask,      "\033[2K",      -1,    0},
     15  	{ XK_Delete,        ShiftMask,      "\033[3;2~",    +1,    0},
     16 -	{ XK_Delete,        XK_ANY_MOD,     "\033[P",       -1,    0},
     17 +	{ XK_Delete,        XK_ANY_MOD,     "\033[3~",       -1,    0},
     18  	{ XK_Delete,        XK_ANY_MOD,     "\033[3~",      +1,    0},
     19  	{ XK_BackSpace,     XK_NO_MOD,      "\177",          0,    0},
     20  	{ XK_BackSpace,     Mod1Mask,       "\033\177",      0,    0},