-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwin-osx-mapping.ahk
114 lines (98 loc) · 1.78 KB
/
win-osx-mapping.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; ! = Alternative
; ^ = Control
; # = Windows modifier
; https://autohotkey.com/board/topic/21510-toaster-popups/
#Include %A_ScriptDir%\pkg\idea\ini.ahk
#Include %A_ScriptDir%\emu\spectacle\main.ahk
#Include %A_ScriptDir%\opt\function_keys\main.ahk
; #Include %A_ScriptDir%\opt\media_keys\main.ahk
#Include %A_ScriptDir%\pkg\chrome\main.ahk
#Include %A_ScriptDir%\pkg\idea\main.ahk
#Include %A_ScriptDir%\pkg\mintty\main.ahk
#Include %A_ScriptDir%\pkg\sublime\main.ahk
;==========
; General
;==========
^1::
MsgBox "Reload!"
Reload
return
#c::
Send ^c
return
#x::
Send ^x
return
#v::
Send ^v
return
#a::
Send ^a
return
#q::
Send !{f4}
return
#w::
Send !{f4}
return
; Don't remap for windows 7
;#Tab::!Tab
#z::
Send ^z
return
#+z::
Send ^y
return
#s::
Send ^s
return
;find
#f::
Send ^f
return
;replace
#r::
Send ^r
return
; spotlight
#Space::
Send {LWin}
return
; movement and selection
#Up::
Send ^{Home}
return
#+Up::
Send ^+{Home}
return
#Down::
Send ^{End}
return
#+Down::
Send ^+{End}
return
#Left::
Send {Home}
return
#+Left::
Send +{Home}
return
#+Right::
Send +{End}
return
#Right::
Send {End}
return
;minimize
#m::
WinMinimize, A
return
; http://www.autohotkey.com/board/topic/51631-disable-windows-key-start-menu-but-not-shortcuts/
; jspenguin
~LWin Up:: return
~RWin Up:: return