As you know terminals can't really understand every keypress due to historical limitations.
However modern terminals (kitty, Alacritty, iTerm2 .. etc) don't abide by that and use the full range of keyboard shortcuts. more about this topic here
An st patch has already been cooked for this a while back and it only edits config.def.h
The catch is making it user configurable (opt-in preferably). As I'm sure not all users want all the new bindings.
for example currently Ctrl [ is interpreted as Esc and I'm sure some users have that mapping ingrained into their muscle memory.
An another thing is this PR @neeasade was working on. idk if it's abandoned or if it would make this patch obsolete?
As you know terminals can't really understand every keypress due to historical limitations.
However modern terminals (kitty, Alacritty, iTerm2 .. etc) don't abide by that and use the full range of keyboard shortcuts. more about this topic here
An st patch has already been cooked for this a while back and it only edits
config.def.hThe catch is making it user configurable (opt-in preferably). As I'm sure not all users want all the new bindings.
for example currently
Ctrl [is interpreted asEscand I'm sure some users have that mapping ingrained into their muscle memory.An another thing is this PR @neeasade was working on. idk if it's abandoned or if it would make this patch obsolete?