chore(hati/keybindings): use Warp as primary terminal application

This commit is contained in:
Jim Myhrberg
2025-05-05 13:48:32 +01:00
parent 56c3b49bef
commit 0494075eb0
3 changed files with 44 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ local obj = {}
--------------------------------------------------------------------------------
local apptoggle = require('app_toggle')
local apphider = require('app_hider')
local function init_hotkeys()
hs.hotkey.bind({ 'cmd', 'alt', 'ctrl' }, 'S', apptoggle.showAppInfo)
@@ -34,6 +35,10 @@ local function init_hotkeys()
apptoggle:bind({ 'cmd', 'ctrl' }, '1',
{ 'Code', '/Applications/Visual Studio Code.app' }
)
-- Use Warp as my primary terminal application.
apptoggle:bind({ 'cmd', 'ctrl' }, 'R', { 'Warp' })
apphider:autoHide('Warp') -- auto-hide Warp when it loses focus
end
--------------------------------------------------------------------------------