slack and rubymine shortcut keys

This commit is contained in:
Haak Saxberg 2015-09-15 11:39:10 -07:00
parent 1fe2dfddae
commit 3b5d957036

View file

@ -170,3 +170,14 @@ hs.alert.show("Config loaded")
hs.hotkey.bind(hyper, 'i', function()
hs.hints.windowHints()
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