From 086d80d6bd7373f650b8f1727ffa5a551196b9a9 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 23 Sep 2025 17:53:36 +0100 Subject: [PATCH] feat(hosts/hati): tweak keybinding method for activating Ghostty terminal --- config/ghostty/config | 4 ---- hammerspoon/hosts/hati.lua | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/ghostty/config b/config/ghostty/config index a197eae..bc81a52 100644 --- a/config/ghostty/config +++ b/config/ghostty/config @@ -66,7 +66,6 @@ window-step-resize = true # macOS notch padding: 14-inch@2704x1756 # window-padding-y = 60,20 - # ------------------------------------------------------------------------------ # Keybindings # ------------------------------------------------------------------------------ @@ -75,8 +74,5 @@ window-step-resize = true keybind = super+c=copy_to_clipboard keybind = super+v=paste_from_clipboard -# Toggle Visibility (cmd+ctrl+r) -keybind = global:super+ctrl+r=toggle_visibility - # Quick Terminal (alt+`) keybind = global:alt+grave_accent=toggle_quick_terminal diff --git a/hammerspoon/hosts/hati.lua b/hammerspoon/hosts/hati.lua index 518df25..3eed480 100644 --- a/hammerspoon/hosts/hati.lua +++ b/hammerspoon/hosts/hati.lua @@ -34,6 +34,10 @@ local function init_hotkeys() { 'Code - Insiders', '/Applications/Visual Studio Code - Insiders.app' } ) + -- Use Ghostty as my primary terminal application. + apptoggle:bind({ 'cmd', 'ctrl' }, 'R', { 'Ghostty' }) + apphider:autoHide('Ghostty') -- auto-hide Ghostty when it loses focus + -- Use Warp as my primary terminal application. -- apptoggle:bind({ 'cmd', 'ctrl' }, 'R', { 'Warp' }) -- apphider:autoHide('Warp') -- auto-hide Warp when it loses focus