Hacker News new | ask | show | jobs
by ramenbytes 1030 days ago
You know, that's part of what's been holding me back from using it for much besides remapping CapsLock to Control. Maybe it's time to sit down and write a Lisp DSL that compiles to it.
3 comments

Or make it call a cloud service running a real program in a kubernetes cluster, which gets the hotkey and returns a script to interpret. If AutoHotKey does not have network and eval functions, they must be added ASAP

:-)

Remapping Capslock to Control:

Windows: https://github.com/randyrants/sharpkeys

Ubuntu Linux (don't know about other Linuxes): /usr/share/X11/xkb/symbols/pc

    key <CAPS> { [ Caps_Lock  ] };
->

    key <CAPS> { [ Control_L  ] };
These solutions avoid needing to keep a keybinding application open. The Linux solution unfortunately resets after every version upgrade.
It's always time to sit down and write a lisp DSL. That compiles itself to AutoHotKey scripts so you can compile while you key.

(I am in the process of doing this inside OpenSCAD.)