Le mercredi 11 mars 2015 à 06:45:21, Roberto E. Vargas Caballero a écrit : > > > Talking about st keys behaviour : a while ago I was looking for a way to > > hack my st in > > order to have alt + backspace deleting the previous word and I found [1]. > > The patch of Ivan Delalande should fix it. Can you test it?
Hi, If you mean [1], it doesn't add (or restore) the alt+backspace ability to delete the previous word. But changing the mask from XK_ANY_MOD to XK_NO_MOD does: diff --git a/config.def.h b/config.def.h index 5b985cd..8a8236c 100644 --- a/config.def.h +++ b/config.def.h @@ -259,7 +259,7 @@ 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_BackSpace, XK_ANY_MOD, "\177", 0, 0, 0}, + { XK_BackSpace, XK_NO_MOD, "\177", 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}, [1] http://lists.suckless.org/dev/1503/25901.html Regards, -- Sébastien Poher www.volted.net Aidez-nous à défendre la liberté du logiciel: http://www.fsf.org/register_form?referrer=11902
signature.asc
Description: Digital signature