Skip to content

Instantly share code, notes, and snippets.

@david-bakin
Created May 31, 2025 02:47
Show Gist options
  • Save david-bakin/40af812646b3a9d823d69d8d8431b6bd to your computer and use it in GitHub Desktop.
Save david-bakin/40af812646b3a9d823d69d8d8431b6bd to your computer and use it in GitHub Desktop.
Ultimate Hacking Keyboard (UHK) macro for ESC-backtick-tilde key
// tap: `
// doubletap: `````
// long-press: escape
// shift-tap: ~
ifShift final holdKey S-graveAccentAndTilde
ifDoubletap final tapKeySeq graveAccentAndTilde graveAccentAndTilde
ifTap final tapKey graveAccentAndTilde
holdKey escape
// Could not make it work to have tap: escape and long-press: tilde
// Not with `ifGesture`
// Still this isn't too bad: long press for escape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment