-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbit-bucket.py
55 lines (55 loc) · 1.46 KB
/
bit-bucket.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# from talon.voice import Context, Key
#
# ctx = Context('bit-bucket', func=lambda app, win: 'Bitbucket' in win.title)
#
# keymap = {
# # All Pages
# 'shortcuts': Key('?'),
# 'left navigation': Key('['),
# 'site search': Key('/'),
#
# # Most Pages (except your work and repository source)
# 'omnibar': Key('.'),
# 'next item': Key('j'),
# 'last item': Key('k'),
# 'selected': Key('o'),
# 'dashboard': Key('g d'),
# 'settings': Key('g a'),
# 'remove focus': Key('esc'),
# 'go back': Key('u'),
# 'right navigation': Key(']'),
#
# # Repository source
# 'focus': Key('f'),
#
# # Repository pages (except source)
# 'create': Key('c r'),
# 'import': Key('i r'),
# 'source': Key('r s'),
# 'view commits': Key('r c'),
# 'view branches': Key('r b'),
# 'pull requests': Key('r p'),
# 'issues': Key('r i'),
# 'wiki': Key('r w'),
# 'downloads': Key('r d'),
# 'repo settings': Key('r a'),
# 'find file': Key('f'),
#
# # Repository pages (except source and settings)
# 'fork': Key('x f'),
# 'create branch': Key('x b'),
# 'compare': Key('x c'),
# 'create pull request': Key('x p'),
# 'create issue': Key('x i'),
#
# # Pull Requests
# 'submit comment': Key('ctrl+enter'),
# 'inline comments': Key('t c'),
# 'diff tab': Key('p d'),
# 'commits tab': Key('p c'),
# 'activity tab': Key('p a'),
# 'show tasks': Key('shift-t'),
#
# }
#
# ctx.keymap(keymap)