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 apptoggle = require('app_toggle')
local apphider = require('app_hider')
local function init_hotkeys() local function init_hotkeys()
hs.hotkey.bind({ 'cmd', 'alt', 'ctrl' }, 'S', apptoggle.showAppInfo) hs.hotkey.bind({ 'cmd', 'alt', 'ctrl' }, 'S', apptoggle.showAppInfo)
@@ -34,6 +35,10 @@ local function init_hotkeys()
apptoggle:bind({ 'cmd', 'ctrl' }, '1', apptoggle:bind({ 'cmd', 'ctrl' }, '1',
{ 'Code', '/Applications/Visual Studio Code.app' } { '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 end
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@@ -1,4 +1,5 @@
--- ---
"editor_view:insert_nonexpanding_space": none
"editor_view:move_backward_one_word": alt-b "editor_view:move_backward_one_word": alt-b
"editor_view:move_forward_one_word": alt-f "editor_view:move_forward_one_word": alt-f
"pane_group:navigate_down": alt-k "pane_group:navigate_down": alt-k
@@ -7,3 +8,4 @@
"pane_group:navigate_up": alt-i "pane_group:navigate_up": alt-i
"terminal:executing_command_move_cursor_word_left": alt-b "terminal:executing_command_move_cursor_word_left": alt-b
"terminal:executing_command_move_cursor_word_right": alt-f "terminal:executing_command_move_cursor_word_right": alt-f
"workspace:toggle_ai_assistant": none

View File

@@ -0,0 +1,37 @@
---
background: "#000000"
accent: "#5696d5"
foreground: "#ffffff"
cursor: "#ffffff"
details:
custom:
main_text_opacity: 90
sub_text_opacity: 60
hint_text_opacity: 40
disabled_text_opacity: 20
foreground_button_opacity: 30
accent_button_opacity: 0
button_hover_opacity: 10
button_click_opacity: 20
keybinding_row_overlay_opacity: 40
welcome_tips_completion_overlay_opacity: 90
terminal_colors:
normal:
black: "#000000"
red: "#cf5041"
green: "#8bba48"
yellow: "#c3a643"
blue: "#37689f"
magenta: "#9b589d"
cyan: "#69b8cb"
white: "#cccccc"
bright:
black: "#686a66"
red: "#ed3a2c"
green: "#96cf4d"
yellow: "#fdeb61"
blue: "#5696d5"
magenta: "#9d6aa5"
cyan: "#75cee3"
white: "#f5f5f5"
name: Imported iTerm Theme