Skip to content

Instantly share code, notes, and snippets.

@Solonarv
Created December 22, 2015 23:24
Show Gist options
  • Save Solonarv/175999e74944b5e44c6e to your computer and use it in GitHub Desktop.
Save Solonarv/175999e74944b5e44c6e to your computer and use it in GitHub Desktop.
A very simple script to type macrons, using AutoHotKey.
; Hotstrings for typing macrons
; If o is a vowel, i.e. one of (a, e, i, o, u, y), typing ~~o turns into ō pretty much anywhere.
; Typing ~~ followed by a space will produce a naked macron, i.e. ¯.
:*?:~~i::ī
:*?:~~ ::¯
:*?:~~e::ē
:*?:~~o::ō
:*?:~~a::ā
:*?:~~y::ȳ
:*?:~~u::ū
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment