feat(hosts/hati): tweak keybinding method for activating Ghostty terminal

This commit is contained in:
Jim Myhrberg
2025-09-23 17:53:36 +01:00
parent 4baed4f299
commit 086d80d6bd
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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