-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ahk
63 lines (55 loc) · 1.33 KB
/
.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
55
56
57
58
59
60
61
62
63
#Requires AutoHotkey v2.0
; AutoHotkey v2 key mappings
; right windows key to Shift F10 or RMB
RWin:: Send("+{F10}")
; right shift to backspace
RShift::Backspace
^RShift::^Backspace
; capslock to ctrl or esc
*CapsLock:: Send("{LControl down}")
*CapsLock up::
{
Send "{LControl Up}"
if (A_PriorKey == "CapsLock") {
if (A_TimeSincePriorHotkey < 1000)
Suspend "1"
Send "{Esc}"
Suspend "0"
}
}
; RAlt as modifier for vim-style navigation with other modifiers
; RAlt + hjkl for arrow keys
>!h:: Send("{Left}")
>!j:: Send("{Down}")
>!k:: Send("{Up}")
>!l:: Send("{Right}")
; RAlt + Shift + hjkl for Shift + arrow keys
>!+h:: Send("+{Left}")
>!+j:: Send("+{Down}")
>!+k:: Send("+{Up}")
>!+l:: Send("+{Right}")
; RAlt + Ctrl + hjkl for Ctrl + arrow keys
>!^h:: Send("^{Left}")
>!^j:: Send("^{Down}")
>!^k:: Send("^{Up}")
>!^l:: Send("^{Right}")
; RAlt + Ctrl + Shift + hjkl for Ctrl + Shift + arrow keys
>!^+h:: Send("^+{Left}")
>!^+j:: Send("^+{Down}")
>!^+k:: Send("^+{Up}")
>!^+l:: Send("^+{Right}")
; taskbar quick access
; #1::#1 ; chrome
; #2::#2 ; vscode
; #3::#3 ; windows terminal
; #4 is a separator
#q::#5 ; teams
#w::#6 ; outlook
#e::#7 ; explorer
; other win shortcuts
; #a::#a ; quick settings
#s:: Send("^#v") ; sound output
;#d::#d ; show desktop
#f::#n ; notifications
#g::#w ; widgets
#z::#l ; lock