|2019/08/08 01:52, Elestir: || |
|@Hux Powwow can only make binds to key combinations that send escape sequences (ie. sequences starting with symbol of escape, which code is 1b in hexadecimal or 27 in decimal notation). And whether some key combination sends escape sequence or common string, that's determined by your terminal. E.g. for xterm, you can configure it through xrdb tool (the settings will apply for newly started xterms only) and basically define those sequences for any combination of modifier keys possible.
Example content for such file is: (replace / with backslashes, as ER doesn't allow backslashes in comments)
xterm*vt100.translations: #override /
Shift Ctrl Alt <Key>KP_Add: string(0x1b) string('SCA_KPADD')/n/
Ctrl Alt <Key>M: string('hello') string(0x0a) string('world') string(0x0a)/n/
This will set Shift+Ctrl+Alt+Keypad_Plus_Button to send escape sequence ESC SCA_KPADD, which can then be used for #bind in powwow while Ctrl+Alt+M will not be bindable and will just write two lines:
If you use different terminal than xterm, you will have to figure how to configure it to send escape sequences for the key combinations you need.