Skip to content

Commit ca582a9

Browse files
committed
Add three-hyphen version
1 parent ce6b974 commit ca582a9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

AutoDash.ahk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33

44
; To understand the hotstring syntax see this specific, convenient page: https://www.autohotkey.com/docs/Hotstrings.htm
55

6-
; ## This section replaces any two dashes "--" typed consecutively with an em dash "—" ##
6+
; ## This section replaces any two hyphens "--" typed consecutively with an em dash "—" ##
77
; * makes it so the hotstring doesn't require an ending character
88
; ? makes it so the hotstring will activate even in the middle of a word
99
; TEMPORARILY COMMENTED OUT :*?:--::—
1010

1111

12-
; ## This section replaces one dash between spaces " - " with an em dash "" ##
12+
; ## This section replaces three hyphens "---" with an em dash "" ##
1313
; ? makes it so the hotstring will activate even in the middle of a word
14-
; the ` tells the hotstring to include the space after the em dash
15-
:*?: - :: — `
14+
:*?:---::—
1615

1716
; Icon made by Google from www.flaticon.com

0 commit comments

Comments
 (0)