Autohotkey for custom key bindings under Windows OS #2900
Gavin-Holt
started this conversation in
Show and tell
Replies: 1 comment
-
Correction: It seems the version of AutoHotkey I am using (1.1.33.00) will only support F1-F24 with modifiers. Kind Regards Gavin Holt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
There are many issues about keybinding in different terminals.
Thanks to the foresight of Zachary, there is a workable solution for Windows users.
Autohotkey can be used to translate keyboard input for a specific application; so virtually any key cord can to intercepted and sent as a function key to
micro
. I am using an older version v1.1.37.01.The source of
micro
offers keyboard bindings for function keys fromF13
toF63
including modifiers giving at least 150 untypable keys to use.I have (ab)used this mechanism to develop my own key bindings while using
micro
in the standard Windows console host (not the new terminal). Below is the section of my ever present Autocorrect.ahk script which translates for key-presses formicro
:My
bindings.json
file has to catch the function keys and trigger commands inmicro
e.g.I hope this helps with keybindings for Windows users. I guess something similar is available for other operating systems.
Kind Regards Gavin Holt
Specification
Version: 2.0.12-dev.71
Commit hash: ceaa143
Compiled on August 22, 2023
OS: Windows 10
Terminal: Conhost
Beta Was this translation helpful? Give feedback.
All reactions