From d8b54c8b0025fc6485383d4bdf8236efa4b26329 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Wed, 18 Feb 2026 12:53:08 -0500 Subject: [PATCH] update --- claude/.claude/settings.json | 4 +- .../com.mitchellh.ghostty/config.ghostty | 1 + karabiner/.config/karabiner/karabiner.json | 597 ++++++++++-------- nvim/.config/nvim | 2 +- 4 files changed, 325 insertions(+), 279 deletions(-) diff --git a/claude/.claude/settings.json b/claude/.claude/settings.json index 7823b21..e3e8c9a 100644 --- a/claude/.claude/settings.json +++ b/claude/.claude/settings.json @@ -6,6 +6,7 @@ "permissions": { "defaultMode": "default" }, + "model": "sonnet", "hooks": { "PreToolUse": [ { @@ -68,5 +69,6 @@ "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}" } } - } + }, + "effortLevel": "medium" } diff --git a/ghostty/Library/Application Support/com.mitchellh.ghostty/config.ghostty b/ghostty/Library/Application Support/com.mitchellh.ghostty/config.ghostty index a87c7b4..6221ce6 100644 --- a/ghostty/Library/Application Support/com.mitchellh.ghostty/config.ghostty +++ b/ghostty/Library/Application Support/com.mitchellh.ghostty/config.ghostty @@ -1,5 +1,6 @@ theme=Gruvbox Material Dark font-family = "Berkeley Mono" +font-codepoint-map= "U+f101-U+f25c=nonicons" background-opacity = 1 # background-blur = macos-glass-regular diff --git a/karabiner/.config/karabiner/karabiner.json b/karabiner/.config/karabiner/karabiner.json index 23ba76a..bf63001 100644 --- a/karabiner/.config/karabiner/karabiner.json +++ b/karabiner/.config/karabiner/karabiner.json @@ -1,279 +1,322 @@ { - "profiles": [ - { - "complex_modifications": { - "rules": [ - { - "description": "Caps Lock + 6 = Open Telegram", - "manipulators": [ - { - "from": { - "key_code": "6", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Telegram'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + 5 = Open Riptide", - "manipulators": [ - { - "from": { - "key_code": "5", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Riptide-dev'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock to Control (held) / Escape (tapped)", - "manipulators": [ - { - "from": { - "key_code": "caps_lock", - "modifiers": { "optional": ["any"] } - }, - "to": [{ "key_code": "left_control" }], - "to_if_alone": [{ "key_code": "escape" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + 1 = Open Dia", - "manipulators": [ - { - "from": { - "key_code": "1", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Dia'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + 2 = Open Ghostty", - "manipulators": [ - { - "from": { - "key_code": "2", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Ghostty'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + 3 = Open Messages", - "manipulators": [ - { - "from": { - "key_code": "3", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Messages'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + 4 = Open Signal", - "manipulators": [ - { - "from": { - "key_code": "4", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "shell_command": "open -a 'Signal'" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + H = Left Arrow", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "key_code": "left_arrow" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + J = Scroll Down", - "manipulators": [ - { - "from": { - "key_code": "j", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "mouse_key": { "vertical_wheel": 80 } }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + K = Scroll Up", - "manipulators": [ - { - "from": { - "key_code": "k", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "mouse_key": { "vertical_wheel": -80 } }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + L = Right Arrow", - "manipulators": [ - { - "from": { - "key_code": "l", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "key_code": "right_arrow" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + U = Page Up", - "manipulators": [ - { - "from": { - "key_code": "u", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "key_code": "page_up" }], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + D = Page Down", - "manipulators": [ - { - "from": { - "key_code": "d", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [{ "key_code": "page_down" }], - "type": "basic" - } - ] - }, - { - "description": "Right Command = Option+W (tmux prefix)", - "manipulators": [ - { - "from": { - "key_code": "right_command", - "modifiers": { "optional": ["any"] } - }, - "to": [ - { - "key_code": "w", - "modifiers": ["left_option"] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock + g = Bottom, Caps Lock + gg = Top (vim-style)", - "manipulators": [ - { - "conditions": [ - { - "name": "g_pressed", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": ["command"] - }, - { - "set_variable": { - "name": "g_pressed", - "value": 0 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g_pressed", - "type": "variable_if", - "value": 0 - } - ], - "from": { - "key_code": "g", - "modifiers": { "mandatory": ["left_control"] } - }, - "to": [ - { - "set_variable": { - "name": "g_pressed", - "value": 1 - } - } - ], - "to_delayed_action": { - "to_if_canceled": [ - { - "set_variable": { - "name": "g_pressed", - "value": 0 - } - } - ], - "to_if_invoked": [ - { - "key_code": "down_arrow", - "modifiers": ["command"] - }, - { - "set_variable": { - "name": "g_pressed", - "value": 0 - } - } - ] - }, - "type": "basic" - } - ] + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "Caps Lock + 6 = Open Telegram", + "manipulators": [ + { + "from": { + "key_code": "6", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Telegram'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + 5 = Open Riptide", + "manipulators": [ + { + "from": { + "key_code": "5", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Riptide-dev'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock to Control (held) / Escape (tapped)", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_control" + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + 1 = Open Dia", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Dia'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + 2 = Open Ghostty", + "manipulators": [ + { + "from": { + "key_code": "2", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Ghostty'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + 3 = Open Messages", + "manipulators": [ + { + "from": { + "key_code": "3", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Messages'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + 4 = Open Signal", + "manipulators": [ + { + "from": { + "key_code": "4", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Signal'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + H = Left Arrow", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + J = Scroll Down", + "manipulators": [ + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "mouse_key": { + "vertical_wheel": 80 } - ] - }, - "name": "Default profile", - "selected": true, - "virtual_hid_keyboard": { - "country_code": 0, - "keyboard_type_v2": "ansi" - } - } - ] -} \ No newline at end of file + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + K = Scroll Up", + "manipulators": [ + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "mouse_key": { + "vertical_wheel": -80 + } + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + L = Right Arrow", + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + U = Page Up", + "manipulators": [ + { + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "key_code": "page_up" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock + D = Page Down", + "manipulators": [ + { + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "key_code": "page_down" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Right Command = Option+W (tmux prefix)", + "manipulators": [ + { + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "w", + "modifiers": [ + "left_option" + ] + } + ], + "type": "basic" + } + ] + } + ] + }, + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { + "country_code": 0, + "keyboard_type_v2": "ansi" + } + } + ] +} diff --git a/nvim/.config/nvim b/nvim/.config/nvim index e7e0a25..d9a93f4 160000 --- a/nvim/.config/nvim +++ b/nvim/.config/nvim @@ -1 +1 @@ -Subproject commit e7e0a25ab4dd559977235d452481a9b62560a56a +Subproject commit d9a93f41a3224b752a5f4d72791d2f642cc03fb2