slack and rubymine shortcut keys
This commit is contained in:
parent
1fe2dfddae
commit
3b5d957036
1 changed files with 11 additions and 0 deletions
|
|
@ -170,3 +170,14 @@ hs.alert.show("Config loaded")
|
||||||
hs.hotkey.bind(hyper, 'i', function()
|
hs.hotkey.bind(hyper, 'i', function()
|
||||||
hs.hints.windowHints()
|
hs.hints.windowHints()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
-- Shortcuts to common applications
|
||||||
|
----------------------------------------------
|
||||||
|
local appShortcuts = {
|
||||||
|
['a'] = 'Slack',
|
||||||
|
['q'] = 'Rubymine',
|
||||||
|
}
|
||||||
|
for shortcut, appName in pairs(appShortcuts) do
|
||||||
|
hs.hotkey.bind({'alt', 'cmd'}, shortcut, function() hs.application.launchOrFocus(appName) end)
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue