Closed orhnk closed 1 year ago
Here are some info about st termkeys.
It turns out to be ctrl-alt-h deletes the previous word. Also I didn't realized that I can achieve the same thing using alt-backspace.
I just need to map a key for it
Wasted time on finding the keybinding instead of trying the kitty's mapping.
Note I thought It was
^[^H
or^[^?
as it was the result ofshowkey -a
forctrl + alr + h
andalt + backspace
which were deleting the whole word previously
I have added this to my configuration:
static Key key[] = {
/*
...
*/
/* keysym mask string appkey appcursor */
{ XK_BackSpace, ControlMask, "\x17", 0, 0},
/*
...
*/
}
Summary
When I press ctrl+backspace I expect the last word to get deleted but the last character gets.
I had the same issue when using kitty & alacritty.