-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathHotstrings.ahk
55 lines (44 loc) · 1.25 KB
/
Hotstrings.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
; Hotstrings are text that's replaced when you type them. I use a lot of them, they're super handy.
; READ MORE: https://www.autohotkey.com/docs/v2/Hotstrings.htm
; All my hotstrings start with a ; so that I unintentionally trigger any of them
; eg `::e::foo` --> triggers if I type ` e `, can easily happen by accident
; `::;e::` triggers if I type ` ;e `, never happens in day-to-day programming
; MATH STUFF
; O means it doesn't add a space after completing
:O:;e::∃
:O:;a::∀
::;in::∈
::;neq::≠
::;leq::≤
::;geq::≥
:O:;nat::ℕ
:O:;int::ℤ
:O:;real::ℝ
::;pi::π
; Text stuff
; R means it won't parse {Space} as ' ' or `r as a newline
; (probably unneeded but I like the peace of mind)
:RO:;en::–
:RO:;em::—
:R:;ddd::…
:RO:;terro::‽
; DATE FUNCTIONS
; Hotstrings can also trigger functions!
; See `>^>+d` in main.ahk for explanation of FormatTime
:R:;date::
{
Send(FormatTime(,"M/d/yyyy"))
}
:R:;iso::
{
Send(FormatTime(,"yyyy-MM-dd"))
}
; MISC STUFF
::;ahk::AutoHotKey
::;shrug::¯\_(ツ)_/¯
:R:;mdshrug::¯\\\_(ツ)\_/¯
:R:;zoom::https://myzoomlink.zoom.us/
::;adr::My address (street and apt num)
::;fadr::Full address(street `r city, state, zip)
; AUTOGEN
; Anything added by the HotStringAdder.ahk will go below here.