-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created shortcuts for spectacle, pocket, and bitbucket. edited slack,…
… spotify, std, jetbrains, and phpstorm
- Loading branch information
Showing
9 changed files
with
165 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
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('capslock-j'), | ||
'last item': Key('capslock-k'), | ||
'selected': Key('capslock-o'), | ||
'[work] dashboard': Key('capslock-g capslock-d'), | ||
'[bucket] settings': Key('capslock-g capslock-a'), | ||
'remove focus': Key('esc'), | ||
'go back': Key('capslock-u'), | ||
'right navigation': Key(']'), | ||
|
||
# Repository source | ||
'focus': Key('capslock-f'), | ||
|
||
# Repository pages (except source) | ||
'create': Key('capslock-c capslock-r'), | ||
'import': Key('capslock-I capslock-r'), | ||
'source': Key('capslock-r capslock-s'), | ||
'view commits': Key('capslock-r capslock-c'), | ||
'view branches': Key('capslock-r capslock-b'), | ||
'pull requests': Key('capslock-r capslock-p'), | ||
'issues': Key('capslock-r capslock-i'), | ||
'wiki': Key('capslock-r capslock-w'), | ||
'show downloads': Key('capslock-r capslock-d'), | ||
'repo settings': Key('capslock-r capslock-a'), | ||
'find file': Key('capslock-f'), | ||
|
||
# Repository pages (except source and settings) | ||
'fork repository': Key('capslock-x capslock-f'), | ||
'create branch': Key('capslock-x capslock-b'), | ||
'compare': Key('capslock-x capslock-c'), | ||
'fork repository': Key('capslock-x capslock-f'), | ||
'create pull request': Key('capslock-x capslock-p'), | ||
'create issue': Key('capslock-x capslock-i'), | ||
|
||
# Pull Requests | ||
'submit comment': Key('ctrl+enter'), | ||
'inline comments': Key('capslock-t capslock-c'), | ||
'diff tab': Key('capslock-p capslock-d'), | ||
'commits tab': Key('capslock-p capslock-c'), | ||
'activity tab': Key('capslock-p capslock-a'), | ||
'show tasks': Key('shift-capslock-t'), | ||
|
||
} | ||
|
||
ctx.keymap(keymap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
from talon.voice import Context, Key | ||
|
||
ctx = Context('pocket', bundle='com.readitlater.PocketMac') | ||
|
||
keymap = { | ||
# File Menu | ||
'save keyboard': Key('cmd-s'), | ||
'refresh': Key('cmd-r'), | ||
'close window': Key('cmd-w'), | ||
'print': Key('cmd-p'), | ||
|
||
# Edit Menu | ||
'tags': Key('t'), | ||
'save tag': Key('cmd-enter'), | ||
'undo': Key('cmd-z'), | ||
'redo': Key('shift-cmd-z'), | ||
|
||
# View Menu | ||
'next': Key('j'), | ||
'previous': Key('k'), | ||
'list home': Key('cmd-1'), | ||
'list favorites': Key('cmd-2'), | ||
'list archive': Key('cmd-3'), | ||
'filter all items': Key('alt-1'), | ||
'filter articles': Key('alt-2'), | ||
'filter videos': Key('alt-3'), | ||
'filter images': Key('alt-4'), | ||
'(web | article) view': Key('cmd-/'), | ||
|
||
# Item Menu | ||
'archive': Key('a'), | ||
'favorite': Key('f'), | ||
'delete': Key('backspace'), | ||
'copy item': Key('c'), | ||
'mail item': Key('shift-cmd-i'), | ||
'open in browser': Key('o'), | ||
'open in background': Key('cmd-o'), | ||
} | ||
|
||
ctx.keymap(keymap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from talon.voice import Context, Key | ||
|
||
ctx = Context('spectacle') | ||
|
||
keymap = { | ||
|
||
'center': Key('alt-cmd-c'), | ||
'(fullscreen | full)': Key('cmd-alt-f'), | ||
'snapleft': Key('cmd-alt-left'), | ||
'snapright': Key('cmd-alt-right'), | ||
'snap up': Key('alt-cmd-up'), | ||
'snap down': Key('alt-cmd-down'), | ||
'snap top left': Key('ctrl-cmd-left'), | ||
'snap bottom left': Key('ctrl-shift-cmd-left'), | ||
'snap top right': Key('ctrl-cmd-right'), | ||
'snap bottom right': Key('ctrl-shift-cmd-right'), | ||
'next display': Key('ctrl-alt-cmd-right'), | ||
'previous display': Key('ctrl-alt-cmd-left'), | ||
'next third': Key('ctrl-alt-right'), | ||
'previous third': Key('ctrl-alt-left'), | ||
'make larger': Key('ctrl-alt-shift-right'), | ||
'make smaller': Key('ctrl-alt-shift-left'), | ||
'speck undo': Key('alt-cmd-z'), | ||
'speck redo': Key('alt-shift-cmd-z'), | ||
|
||
} | ||
|
||
ctx.keymap(keymap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters