Skip to content

Instantly share code, notes, and snippets.

@thchr
Created January 17, 2022 22:17
Show Gist options
  • Save thchr/c69ef0271954cc3d28fcb70b867edafb to your computer and use it in GitHub Desktop.
Save thchr/c69ef0271954cc3d28fcb70b867edafb to your computer and use it in GitHub Desktop.
AutoHotkey config
; We bind the same stuff also to RAlt+keys
<^>!z:: ; bind RAlt+z to \
SendRaw, \
Return
<^>!,:: ; bind RAlt+, to <
SendRaw, <
Return
<^>!.:: ; bind RAlt+. to >
SendRaw, >
Return
; We bind the same stuff also to RAlt+keys
>!z:: ; bind RAlt+z to \
SendRaw, \
Return
>!,:: ; bind RAlt+, to <
SendRaw, <
Return
>!.:: ; bind RAlt+. to >
SendRaw, >
Return
; double dash = endash
; en dash (ctrl+-)
^-::
Send, {Asc 0150}
return
; as an often useful alternative double-dash -> endash (-+-+space)
; ::`-`-::{Asc 0150}
; em dash (Alt+-)
!-::
Send, {Asc 0151}
return
; instant tilde (crazy that it works this way, lol...)
^!~::
Send {ASC 126} ; sends ~
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment