Skip to content

Instantly share code, notes, and snippets.

@Arty2
Last active January 3, 2024 17:37
Show Gist options
  • Select an option

  • Save Arty2/c50fd2b07ba5b763df6fa6bc358f07db to your computer and use it in GitHub Desktop.

Select an option

Save Arty2/c50fd2b07ba5b763df6fa6bc358f07db to your computer and use it in GitHub Desktop.
AutoHotkey script for easier access to uncommon typographical characters.
#NoEnv
#persistent
#KeyHistory 0
;BETTER TYPOGRAPHY - shortcuts
$^!-:: SendUnicode("2014") ;— em dash
$^!+-:: SendUnicode("2013") ;– en dash
$^!.:: SendUnicode("2026") ;…
$^!+.:: SendUnicode("2022") ;•
$^+.:: SendUnicode("2E0C") ;⸌ “list character” (left raised omission bracket)
$^!,:: SendUnicode("387") ;· ano teleia
$^+[:: SendUnicode("300C") ;「
$^+]:: SendUnicode("300D") ;」
$^![:: SendUnicode("AB") ;«
$^!]:: SendUnicode("BB") ;»
$^!+[:: SendUnicode("201C") ;“
$^!+]:: SendUnicode("201D") ;”
$^!;:: SendUnicode("2018") ;‘
$^!':: SendUnicode("2019") ;’
$^!x:: SendUnicode("D7") ;×
$^!+/:: SendUnicode("F7") ;÷
$^!/:: SendUnicode("BF") ;¿
$^!=:: SendUnicode("2260") ;≠
$^!+=:: SendUnicode("B1") ;±
$^!0:: SendUnicode("B0") ;°
$^!+0:: SendUnicode("2316") ;⌖
$^!+f:: SendUnicode("2300") ;⌀
$^!+v:: SendUnicode("2714") ;✔
$^!+x:: SendUnicode("2718") ;✘
$^!e:: SendUnicode("E9") ;é
$^!7:: SendUnicode("03D7") ;ϗ
$^!+e:: SendUnicode("20AC") ;€ may clash with After Effects
;BETTER TYPOGRAPHY - expanded text
;if the following don’t work as expected, then save the script as UTF-8 with BOM
::<3::❤
::>>>::👉
::==>::⯈ ; better yet ► but has worse display support
::/!\::⚠️
::-->::→
::<--::←
::^--::↑
::--^::↓
::///::¶
::--::—
::...::…
::,,::·
:?:'m::’m
:?:'s::’s
:?:'d::’d
:?:'ll::’ll
:?:'ve::’ve
:?:'re::’re
:?:n't::n’t
:?:>>::»
:*:<<::«
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment