mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:46:42 +00:00
feat(hammerspoon/hati): tweak global keybindings
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user