feat(hammerspoon/hati): tweak global keybindings

This commit is contained in:
Jim Myhrberg
2024-03-11 17:24:19 +00:00
parent d1116deb8a
commit b0f8500e59

View File

@@ -8,6 +8,7 @@ local apptoggle = require('app_toggle')
local function init_hotkeys() local function init_hotkeys()
apptoggle:bind({ 'cmd', 'alt', 'ctrl' }, 'A', { 'Activity Monitor' }) apptoggle:bind({ 'cmd', 'alt', 'ctrl' }, 'A', { 'Activity Monitor' })
apptoggle:bind({ 'cmd', 'ctrl' }, 'A', { 'ArgoCD' })
apptoggle:bind({ 'cmd', 'ctrl' }, 'B', { 'TablePlus' }, { 'Lens' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'B', { 'TablePlus' }, { 'Lens' })
apptoggle:bind({ 'cmd', 'ctrl' }, 'D', { 'Mail' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'D', { 'Mail' })
apptoggle:bind({ 'cmd', 'ctrl' }, 'E', { 'Emacs', '/Applications/Emacs.app' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'E', { 'Emacs', '/Applications/Emacs.app' })
@@ -22,7 +23,9 @@ local function init_hotkeys()
) )
apptoggle:bind({ 'cmd', 'ctrl' }, 'W', apptoggle:bind({ 'cmd', 'ctrl' }, 'W',
{ 'Code - Insiders', '/Applications/Visual Studio Code - Insiders.app' }, { 'Code - Insiders', '/Applications/Visual Studio Code - Insiders.app' }
)
apptoggle:bind({ 'cmd', 'ctrl' }, '2',
{ 'Code', '/Applications/Visual Studio Code.app' } { 'Code', '/Applications/Visual Studio Code.app' }
) )
end end