Re:Vim Foot Pedal
by xigoi on Sunday December 18, 2022 @02:39PM
(#34041979)
I think AutoHotkey would be the program to use on Windows?
[ Parent
| on HN ]
I’d recommend Power Toys for that. AHK is cool but better for scripts and automations. Power Toys has lots of other neat functions and support by MS.
I found power toys didn't work too well, especially when you want to turn it off and on, or put exceptions for some programs
I just have a simple autohotkey script + vim like keys for going up and down in textboxes/selection/dropdowns.
<!k::Send {Up}
<!j::Send {Down}
Capslock::Esc
Only downside is the mess that happens when on other machines that don't have that, also try to use ^[ as much as possible.
Re:Vim Foot Pedal
by TheSpiceIsLife on Monday December 19, 2022 @01:14AM
(#34049067)
AutoHotKey scripts can be compiled in to portable executables.
For a simpler solution I can recommend https://github.com/randyrants/sharpkeys. Of course AHK is great tool for all kinds of more advanced customizations.