Skip to content

Instantly share code, notes, and snippets.

@otherjoel
Created August 18, 2025 16:25
Show Gist options
  • Save otherjoel/9b7557b2950c14768e4bd09db128ec00 to your computer and use it in GitHub Desktop.
Save otherjoel/9b7557b2950c14768e4bd09db128ec00 to your computer and use it in GitHub Desktop.
MacOS punctuation shortcuts for Windows (via AutoHotkey)
; Script snippet for use with AutoHotkey 2.0+ (https://autohotkey.com/)
; Lets you use MacOS-like keyboard shortcuts for good punctuation
;
; https://joeldueck.com/manually-type-punctuation.html
#-::Send("–") ; Win - = en-dash
#+-::Send("—") ; Win SHIFT - = em-dash
#]::Send("‘") ; Win ] = Open single quote
#+]::Send("’") ; Win SHIFT ] = Close single quote
#[::Send("“") ; Win [ = Open double quote
#+[::Send("”") ; Win SHIFT [ = Close single quote
#;::Send("…") ; Win ; = Ellipses
#+>::Send("→") ; Win SHIFT > = Right arrow
#+<::Send("←") ; Win SHIFT < = Left arrow
#8::Send("•") ; Win 8 = Middle dot
#+x::Send("×") ; Win SHIFT x = Multiplication symbol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment