-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtrello.py
38 lines (34 loc) · 1014 Bytes
/
trello.py
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
from talon.voice import Context, Key
ctx = Context('trello', bundle='com.atlassian.trello')
keymap = {
'(quick add | add)': Key('ctrl-alt-space'),
'boards': Key('b'),
'search': Key('/'),
'archive': Key('c'),
'due date': Key('d'),
'edit': Key('e'),
'cancel': Key('esc'),
'save': Key('cmd-enter'),
'open card': Key('enter'),
'create open': Key('shift-enter'),
'filter': Key('f'),
'toggle label': Key(';'),
'(add | remove) members': Key('m'),
'new card': Key('n'),
'move card left': Key(','),
'move card right': Key('.'),
'my cards': Key('q'),
'(watch | unwatch) card': Key('s'),
'(assign | unassign) me': Key('space'),
'edit title': Key('t'),
'vote': Key('v'),
'[| toggle] board menu': Key('w'),
'clear filters': Key('x'),
'shortcuts': Key('?'),
'member': Key('@'),
'tag label': Key('#'),
'position': Key('^'),
# TODO Add label color numbers (extended)
'label': Key('l'),
}
ctx.keymap(keymap)