From b0f8500e59ce7ad1eef1c65ab8a826bc3dfd0369 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 11 Mar 2024 17:24:19 +0000 Subject: [PATCH] feat(hammerspoon/hati): tweak global keybindings --- hammerspoon/hosts/hati.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hammerspoon/hosts/hati.lua b/hammerspoon/hosts/hati.lua index dbc5323..2c84fe3 100644 --- a/hammerspoon/hosts/hati.lua +++ b/hammerspoon/hosts/hati.lua @@ -8,6 +8,7 @@ local apptoggle = require('app_toggle') local function init_hotkeys() 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' }, 'D', { 'Mail' }) apptoggle:bind({ 'cmd', 'ctrl' }, 'E', { 'Emacs', '/Applications/Emacs.app' }) @@ -22,7 +23,9 @@ local function init_hotkeys() ) 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' } ) end