-
Notifications
You must be signed in to change notification settings - Fork 1
/
.imwheelrc
311 lines (271 loc) · 7.92 KB
/
.imwheelrc
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
# IMWheel Configuration file ($HOME/.imwheelrc or /etc/imwheelrc)
# (GPL)Jon Atkins <[email protected]>
# Please read the README and/or imwheel(1) manpage for info
# and this is best operated on using vim (as I said: It's crunchy)
#
# This is only for demonstration of the priority command...
# See the other global Exclude command below for the one you want to use!
# If this is activated it will only apps that have a lower priority
# priority is based first on the priority command, then the position in this
# file - the higher the line is in a file the higher in a priority class it is
# thus for a default priority you can see that the position in the file is
# important, but the priority command CAN appear anywahere in a window's list
# of translations, and the priority will be assigned to all translations below
# it until either a new window is defined or the priority is set again.
#
#".*"
#@Priority=-1000 #the default priority is zero, higher numbers take precedence
#@Exclude
# want it to type something?
# this would type "Rofl" and press Return in any window
#".*"
#,Up,Shift_L|R|-R|-Shift_L|O|-O|F|-F|L|-L|Return
#Thanks to Mathias Weyland <[email protected]>
"^mutt.*"
None, Up, Up
None, Down, Down
Control_L, Up, Page_Up
Control_L, Down, Page_Down
#Thanks to Mathias Weyland <[email protected]>
"^aterm"
None, Up, Shift_L|Page_Up
None, Down, Shift_L|Page_Down
Control_L, Up, Up
Control_L, Down, Down
#Thanks to Mathias Weyland <[email protected]>
"^Xplns"
None, Up, Left
None, Down, Right
Control_L, Up, Up
Control_L, Down, Down
"^kvt"
None, Up, Shift_L|Page_Up
None, Down, Shift_L|Page_Down
"^Konsole"
None, Up, Shift_L|Page_Up
None, Down, Shift_L|Page_Down
"^XMcd"
None, Up, C
None, Down, Shift_L|C
"^XMMS_Player"
Shift_L, Up, Right
Shift_L, Down, Left
"^XMMS_Playlist"
Shift_L, Up, Page_Up
Shift_L, Down, Page_Down
"^xmms"
Alt_L, Up, Z
Alt_L, Down, B
Control_L, Up, V
Control_L, Down, C
"^XATITV-GATOS"
None, Down, KP_Subtract
None, Up, KP_Add
"^Xman"
None, Down, F
Shift_L, Down, 3
None, Up, B
"^Gvi(m|ew)"
Alt_L, Up, Page_Up
Alt_L, Down, Page_Down
Shift_L, Up, Control_L|Y
Shift_L, Down, Control_L|E
#None, Up, Page_Up
#None, Down, Page_Down
, Left, Shift_L|Left
, Right, Shift_L|Right
, Thumb1, Shift_L|Left
, Thumb2, Shift_L|Right
"^VIM"
Shift_L, Up, Control_L|Y
Shift_L, Down, Control_L|E
#None, Up, Page_Up
#None, Down, Page_Down
"^Eterm"
Alt_L, Up, Up
Alt_L, Down, Down
#Alt_L, Up, Shift_L|Page_Up
#Alt_L, Down, Shift_L|Page_Down
#"^GnomeTerminal"
#None, Up, Shift_L|Page_Up
#None, Down, Shift_L|Page_Down
"^NXTerm"
None, Up, Shift_L|Page_Up
None, Down, Shift_L|Page_Down
"^rxvt"
Alt_L, Up, Shift_L|Page_Up
Alt_L, Down, Shift_L|Page_Down
"^XTerm"
Alt_L, Up, Shift_R|Page_Up
Alt_L, Down, Shift_R|Page_Down
Alt_L, Left, Control_L|A
Alt_L, Right, Control_L|E
#Shift_L, Down, Shift_L|1
"^VMware"
@Exclude
"^Mozilla-bin$"
#, Left, Alt_L|Left
#, Right, Alt_L|Right
#
# If you want to scroll by a few lines then uncomment these 4 lines
# and comment out the paging 4 lines below these!
#
Shift_L, Down, Page_Down, 1#, 1000, 1000
Shift_L, Up, Page_Up, 1#, 1000, 1000
#None, Down, Down, 7#, 1000, 1000
#None, Up, Up, 7#, 1000, 1000
#
# If you don't like page scrolling then comment these out and uncomment above!
#
#Shift_L, Down, Down, 7,
#Shift_L, Up, Up, 7,
#None, Down, Page_Down, 1,
#None, Up, Page_Up, 1,
# Left/Right & Thumb stuff
None, Left, Left, 7,
None, Right, Right, 7,
None, Thumb1, Down, 7,
Shift_L, Thumb1, Up, 7,
None, Thumb2, Up, 7,
Shift_L, Thumb2, Down, 7,
"^Freespace.*"
, Up, Y
, Down, X
, Thumb1, H
, Thumb2, R
"^SDL_App"
, Thumb1, Home #many apps don't understand Button > 5
, Thumb2, End #many apps don't understand Button > 5
# Thanks to shewp <[email protected]>
"^Opera"
None, Down, Down, 4, 100, 100
None, Up, Up, 4, 100, 100
None, Thumb1, Right
None, Thumb2, Left
"^Netscape.*"
, Thumb1, Alt_L|KP_Left
, Thumb2, Alt_L|KP_Right
"^Netscape"
#
# If you don't want to scroll by a few lines then comment out these 4 lines
# and uncomment the paging 4 lines below these!
#
Shift_L, Down, Page_Down, 1, 1000, 1000
Shift_L, Up, Page_Up, 1, 1000, 1000
None, Down, Down, 7, 1000, 1000
None, Up, Up, 7, 1000, 1000
#
# If you don't like page scrolling then uncomment these
# and comment out the 4 lines above!
#
#Shift_L, Down, Shift_L|Down, 7, 1000, 1000
#Shift_L, Up, Shift_L|Up, 7, 1000, 1000
#None, Down, Page_Down, 1, 1000, 1000
#None, Up, Page_Up, 1, 1000, 1000
# Left/Right & Thumb stuff
None, Left, Left, 7, 1000, 1000
None, Right, Right, 7, 1000, 1000
None, Thumb1, Down, 7, 1000, 1000
Shift_L, Thumb1, Up, 7, 1000, 1000
None, Thumb2, Up, 7, 1000, 1000
Shift_L, Thumb2, Down, 7, 1000, 1000
"^Navigator"
#Alt_L, Down, Alt_L|Right
#Alt_L, Up, Alt_L|Left
Alt_L, Down, Right, 10, 1000, 1000
Alt_L, Up, Left, 10, 1000, 1000
# Thanks to Paul J Collins <[email protected]>
"^emacs"
Shift_L, Up, Page_Up
Shift_L, Down, Page_Down
# you may need Alt instead of Meta....
None, Down, Control_L|Meta_L|Shift_L|parenright
None, Up, Control_L|Meta_L|Shift_L|parenleft
# Thanks to etienne grossmann <[email protected]>
"^Xftp"
, Down, j
, Up, k
# Thanks to etienne grossmann <[email protected]>
"^gv[ :]"
None, Up, Shift_L|space
None, Down, space
"^xv grab"
@Priority=1
@Exclude
"^XV.*"
None, Down, Tab
None, Up, Delete
"^Untitled"
, Up, Page_Up
, Down, Page_Down
, Thumb1, Home
, Thumb2, End
"^No Title"
, Up, Page_Up
, Down, Page_Down
, Left, Home
, Right, End
, Thumb1, Home
, Thumb2, End
# send event to the window manager when in the root window...
"\(root\)"
, Up, Control_L|N
, Down, Control_L|P
, Thumb1, Alt_L|Left
, Thumb2, Alt_L|Right
#
# Uncommment the following to exclude by default.
# Then you will have to add new apps all the time, but will retain any built-in
# wheel functionality contained in some KDE and other newer programs.
# This kinda defeats the original purpose of the program! ;)
#
#".*"
#None, Up, Button4, 400
#None, Down, Button5, 200
#@Priority=-1000
#@Exclude
#
# These are the defaults, but note that the defaults for the right side of the
# keyboard are still handled within the program, unless you add the
# combinations desired here. (except for the None modifier of course!)
# If this section is deleted then the hardcoded defaults will be used, which
# are the same thing.
# Modifying these has global effects, but doesn't override what is above.
#
#".*"
#@Priority=-1001
#None, Left, Left
#None, Right, Right
#None, Up, Page_Up
#None, Down, Page_Down
#Shift_L, Left, Left
#Shift_L, Right, Right
#Shift_L, Up, Up
#Shift_L, Down, Down
# Control_L, Left, Left, 2
# Control_L, Right, Right, 2
# Control_L, Up, Page_Up, 2
# Control_L, Down, Page_Down, 2
#Shift_L|Control_L, Left, Left, 5
#Shift_L|Control_L, Right, Right, 5
#Shift_L|Control_L, Up, Page_Up, 5
#Shift_L|Control_L, Down, Page_Down, 5
# Alt_L, Left, Left, 10
# Alt_L, Right, Right, 10
# Alt_L, Up, Left, 10
# Alt_L, Down, Right, 10
#Shift_L| Alt_L, Left, Left
#Shift_L| Alt_L, Right, Right
#Shift_L| Alt_L, Up, Left
#Shift_L| Alt_L, Down, Right
# Control_L|Alt_L, Left, Left. 20
# Control_L|Alt_L, Right, Right. 20
# Control_L|Alt_L, Up, Left. 20
# Control_L|Alt_L, Down, Right. 20
#Shift_L|Control_L|Alt_L, Left, Left, 50
#Shift_L|Control_L|Alt_L, Right, Right, 50
#Shift_L|Control_L|Alt_L, Up, Left, 50
#Shift_L|Control_L|Alt_L, Down, Right, 50
#, Thumb1, Home
#, Thumb2, End
# vim:ts=4:shiftwidth=4:syntax=sh