-
Notifications
You must be signed in to change notification settings - Fork 393
Expand file tree
/
Copy pathAmethyst.rb
More file actions
206 lines (188 loc) · 5.02 KB
/
Copy pathAmethyst.rb
File metadata and controls
206 lines (188 loc) · 5.02 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
cheatsheet do
title 'Amethyst'
docset_file_name 'Amethyst'
keyword 'amethyst'
source_url 'http://cheat.kapeli.com'
# A cheat sheet must consist of categories
category do
id 'Layouts'
entry do
command 'mod1 + space'
name 'cycle-layout'
notes 'Cycle layout to the next layout'
end
entry do
command 'mod2 + space'
name 'cycle-layout-backward'
notes 'Cycle layout to the previous layout'
end
entry do
command 'mod1 + a'
name 'select-tall-layout'
notes 'Select the tall layout: a main area on the left and a secondary area on the right'
end
entry do
command 'mod1 + s'
name 'select-wide-layout'
notes 'Select the wide layout: a main area on the top and a secondary column on the right'
end
entry do
command 'mod1 + d'
name 'select-fullscreen-layout'
notes 'Select the fullscreen layout: all windows are sized to fill the screen'
end
entry do
command 'mod1 + f'
name 'select-column-layout'
notes 'All windows are distributed in evenly sized in columns from left to right'
end
entry do
command 'mod1 + h'
name 'shrink-main'
notes 'Shrink the main pane of the current layout'
end
entry do
command 'mod1 + l'
name 'expand-main'
notes 'Expand the main pane of the current layout'
end
entry do
command 'mod1 + ,'
name 'increase-main'
notes 'Increase the number of windows in the main pane'
end
entry do
command 'mod1 + .'
name 'decrease-main'
notes 'Decrease the number of windows in the main pane'
end
entry do
command 'mod1 + t'
name 'toggle-float'
notes 'Toggle the focused window between being floating and tiled'
end
entry do
command 'mod2 + t'
name 'toggle-tiling'
notes 'Toggle tiling of all windows'
end
entry do
command 'mod1 + i'
name 'display-current-layout'
notes 'Show a HUD with the current layout'
end
end
category do
id 'Windows'
entry do
command 'mod1 + w'
name 'focus-screen-1'
notes 'Focus the main window on the first screen'
end
entry do
command 'mod1 + e'
name 'focus-screen-2'
notes 'Focus the main window on the second screen'
end
entry do
command 'mod1 + r'
name 'focus-screen-3'
notes 'Focus the main window on the third screen'
end
entry do
command 'mod2 + w'
name 'throw-screen-1'
notes 'Throw the focused window to the first screen'
end
entry do
command 'mod2 + e'
name 'throw-screen-2'
notes 'Throw the focused window to the second screen'
end
entry do
command 'mod2 + r'
name 'throw-screen-3'
notes 'Throw the focused window to the third screen'
end
entry do
command 'mod1 + j'
name 'focus-ccw'
notes 'Move window focus counter-clockwise on the current screen'
end
entry do
command 'mod1 + k'
name 'focus-cw'
notes 'Move window focus clockwise on the current screen'
end
entry do
command 'mod2 + h'
name 'swap-screen-ccw'
notes 'Throw the focused window counter-clockwise to the next screen'
end
entry do
command 'mod2 + l'
name 'swap-screen-cw'
notes 'Throw the focused window clockwise to the next screen'
end
entry do
command 'mod2 + j'
name 'swap-ccw'
notes 'Swap focused window with the next window going counter-clockwise'
end
entry do
command 'mod2 + k'
name 'swap-cw'
notes 'Swap focused window with the next window going clockwise'
end
entry do
command 'mod1 + enter'
name 'swap-main'
notes 'Swap focused window with the main window of its screen'
end
entry do
command 'mod2 + 1'
name 'throw-space-1'
notes 'Throw the focused window to the first space'
end
entry do
command 'mod2 + 2'
name 'throw-space-2'
notes 'Throw the focused window to the second space'
end
entry do
command 'mod2 + 3'
name 'throw-space-3'
notes 'Throw the focused window to the third space'
end
entry do
command 'mod2 + 4'
name 'throw-space-4'
notes 'Throw the focused window to the fourth space'
end
entry do
command 'mod2 + 5'
name 'throw-space-5'
notes 'Throw the focused window to the fifth space'
end
entry do
command 'mod2 + 6'
name 'throw-space-6'
notes 'Throw the focused window to the sixth space'
end
entry do
command 'mod2 + 7'
name 'throw-space-7'
notes 'Throw the focused window to the seventh space'
end
entry do
command 'mod2 + 8'
name 'throw-space-8'
notes 'Throw the focused window to the eighth space'
end
entry do
command 'mod2 + 9'
name 'throw-space-9'
notes 'Throw the focused window to the ninth space'
end
end
end