Description
I just tried to add a keybinding for q to exit satty, but apparently this is not possible. Also I noticed that keybindings are currently defined in two places: the [keybinds] section and the [general] section (namely the actions-on-* settings).
So I thought it would be nice to unify the approach to keybindings and have them only defined in the [keybinds] section, e.g. by adding Enter, LeftMouse, RightMouse, etc as possible "keys", and exit, save, etc as possible "actions". AFAICS this should be possible in a backwards compatible manner.
I think it would also be nice to have the mappings defined as keybind = action instead of action = keybind, as generally one keybind can only have one action, but one action can have multiple keybinds associated with it (e.g. Esc and q could both be mapped to exit). But this is probably not doable in a backwards compatible manner and not so important I think.
Description
I just tried to add a keybinding for
qto exit satty, but apparently this is not possible. Also I noticed that keybindings are currently defined in two places: the[keybinds]section and the[general]section (namely theactions-on-*settings).So I thought it would be nice to unify the approach to keybindings and have them only defined in the
[keybinds]section, e.g. by addingEnter,LeftMouse,RightMouse, etc as possible "keys", andexit,save, etc as possible "actions". AFAICS this should be possible in a backwards compatible manner.I think it would also be nice to have the mappings defined as
keybind = actioninstead ofaction = keybind, as generally one keybind can only have one action, but one action can have multiple keybinds associated with it (e.g.Escandqcould both be mapped toexit). But this is probably not doable in a backwards compatible manner and not so important I think.