diff --git a/editors/code/settings.json b/editors/code/settings.json index 7e8d5dc9..7b67c246 100644 --- a/editors/code/settings.json +++ b/editors/code/settings.json @@ -20,7 +20,7 @@ "files.eol": "\n", "search.useGlobalIgnoreFiles": true, "search.useIgnoreFiles": true, - "workbench.editor.showTabs": false, + "workbench.editor.showTabs": "single", "explorer.openEditors.visible": 1, // Behaviour "window.openFoldersInNewWindow": "on", @@ -67,5 +67,6 @@ "boot-java.rewrite.reconcile": true, "editor.inlineSuggest.enabled": true, "aws.telemetry": false, - "symbols.hidesExplorerArrows": false -} + "symbols.hidesExplorerArrows": false, + "window.zoomLevel": -2 +} \ No newline at end of file diff --git a/etc/keychron_q8_pro_ansi_knob.layout.json b/etc/keychron_q8_pro_ansi_knob.layout.json new file mode 100644 index 00000000..6386ff40 --- /dev/null +++ b/etc/keychron_q8_pro_ansi_knob.layout.json @@ -0,0 +1,418 @@ +{ + "name": "Keychron Q8 Pro ANSI Knob", + "vendorProductId": 875824768, + "macros": [ + "{KC_LSFT,KC_LGUI,KC_LALT,KC_LCTL}", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "layers": [ + [ + "KC_GRV", + "KC_1", + "KC_2", + "KC_3", + "KC_4", + "KC_5", + "KC_6", + "KC_7", + "KC_8", + "KC_9", + "KC_0", + "KC_MINS", + "KC_EQL", + "KC_BSPC", + "KC_MUTE", + "KC_TAB", + "KC_Q", + "KC_W", + "KC_E", + "KC_R", + "KC_T", + "KC_Y", + "KC_U", + "KC_I", + "KC_O", + "KC_P", + "KC_LBRC", + "KC_RBRC", + "KC_BSLS", + "KC_DEL", + "KC_ESC", + "KC_A", + "KC_S", + "KC_D", + "KC_F", + "KC_G", + "KC_NO", + "KC_H", + "KC_J", + "KC_K", + "KC_L", + "KC_SCLN", + "KC_QUOT", + "KC_ENT", + "KC_HOME", + "KC_LSFT", + "KC_NO", + "KC_Z", + "KC_X", + "KC_C", + "KC_V", + "KC_B", + "KC_B", + "KC_N", + "KC_M", + "KC_COMM", + "KC_DOT", + "KC_SLSH", + "KC_RSFT", + "KC_UP", + "KC_LCTL", + "CUSTOM(0)", + "CUSTOM(2)", + "KC_SPC", + "KC_NO", + "KC_NO", + "MO(2)", + "MO(4)", + "KC_EXECUTE", + "CUSTOM(3)", + "KC_NO", + "KC_NO", + "KC_LEFT", + "KC_DOWN", + "KC_RGHT" + ], + [ + "KC_ESC", + "KC_1", + "KC_2", + "KC_3", + "KC_4", + "KC_5", + "KC_6", + "KC_7", + "KC_8", + "KC_9", + "KC_0", + "KC_MINS", + "KC_EQL", + "KC_BSPC", + "KC_MUTE", + "KC_TAB", + "KC_Q", + "KC_W", + "KC_E", + "KC_R", + "KC_T", + "KC_Y", + "KC_U", + "KC_I", + "KC_O", + "KC_P", + "KC_LBRC", + "KC_RBRC", + "KC_BSLS", + "KC_DEL", + "KC_CAPS", + "KC_A", + "KC_S", + "KC_D", + "KC_F", + "KC_G", + "KC_NO", + "KC_H", + "KC_J", + "KC_K", + "KC_L", + "KC_SCLN", + "KC_QUOT", + "KC_ENT", + "KC_HOME", + "KC_LSFT", + "KC_NO", + "KC_Z", + "KC_X", + "KC_C", + "KC_V", + "KC_B", + "KC_B", + "KC_N", + "KC_M", + "KC_COMM", + "KC_DOT", + "KC_SLSH", + "KC_RSFT", + "KC_UP", + "KC_LCTL", + "KC_LGUI", + "KC_LALT", + "KC_SPC", + "KC_NO", + "KC_NO", + "MO(3)", + "MO(4)", + "KC_SPC", + "KC_RALT", + "KC_NO", + "KC_NO", + "KC_LEFT", + "KC_DOWN", + "KC_RGHT" + ], + [ + "KC_GRV", + "KC_BRID", + "KC_BRIU", + "0xc1", + "0xc2", + "RGB_VAD", + "RGB_VAI", + "KC_MPRV", + "KC_MPLY", + "KC_MNXT", + "KC_MUTE", + "KC_VOLD", + "KC_VOLU", + "KC_TRNS", + "RGB_TOG", + "KC_TRNS", + "CUSTOM(9)", + "CUSTOM(10)", + "CUSTOM(11)", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "RGB_TOG", + "RGB_MOD", + "RGB_VAI", + "RGB_HUI", + "RGB_SAI", + "RGB_SPI", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "RGB_RMOD", + "RGB_VAD", + "RGB_HUD", + "RGB_SAD", + "RGB_SPD", + "KC_TRNS", + "MAGIC_TOGGLE_NKRO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_GRV", + "KC_BRID", + "KC_BRIU", + "CUSTOM(4)", + "CUSTOM(5)", + "RGB_VAD", + "RGB_VAI", + "KC_MPRV", + "KC_MPLY", + "KC_MNXT", + "KC_MUTE", + "KC_VOLD", + "KC_VOLU", + "KC_TRNS", + "RGB_TOG", + "KC_TRNS", + "CUSTOM(9)", + "CUSTOM(10)", + "CUSTOM(11)", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "RGB_TOG", + "RGB_MOD", + "RGB_VAI", + "RGB_HUI", + "RGB_SAI", + "RGB_SPI", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "RGB_RMOD", + "RGB_VAD", + "RGB_HUD", + "RGB_SAD", + "RGB_SPD", + "KC_TRNS", + "MAGIC_TOGGLE_NKRO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "S(KC_GRV)", + "KC_F1", + "KC_F2", + "KC_F3", + "KC_F4", + "KC_F5", + "KC_F6", + "KC_F7", + "KC_F8", + "KC_F9", + "KC_F10", + "KC_F11", + "KC_F12", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "CUSTOM(12)", + "CUSTOM(12)", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO", + "KC_NO", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ] + ], + "encoders": [ + [ + ["KC_VOLD", "KC_VOLU"], + ["KC_VOLD", "KC_VOLU"], + ["RGB_VAD", "RGB_VAI"], + ["RGB_VAD", "RGB_VAI"], + ["KC_TRNS", "KC_TRNS"] + ] + ] +} \ No newline at end of file diff --git a/os/mac/karabiner-elements/karabiner.json b/os/mac/karabiner-elements/karabiner.json index fa3eeda7..6358bd37 100644 --- a/os/mac/karabiner-elements/karabiner.json +++ b/os/mac/karabiner-elements/karabiner.json @@ -353,7 +353,7 @@ "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] }, { "key_code" : "c", - "modifiers" : [ "left_command", "left_option" ] + "modifiers" : [ "left_option", "left_shift" ] } ], "type" : "basic" } ] @@ -371,7 +371,7 @@ "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] }, { "key_code" : "c", - "modifiers" : [ "left_command", "left_option" ] + "modifiers" : [ "left_option", "left_shift" ] } ], "type" : "basic" } ] @@ -403,6 +403,20 @@ } ], "type" : "basic" } ] + }, { + "description" : "[launch] Finder", + "manipulators" : [ { + "from" : { + "key_code" : "f", + "modifiers" : { + "mandatory" : [ "left_command", "left_control", "left_option" ] + } + }, + "to" : [ { + "shell_command" : "open -a \"Finder\"" + } ], + "type" : "basic" + } ] }, { "description" : "[launch] Chrome", "manipulators" : [ { @@ -594,7 +608,7 @@ } ], "conditions" : [ { "type" : "frontmost_application_if", - "bundle_identifiers" : [ "com.apple.Safari.WebApp.82A772AA-B484-4B6A-958B-EFC0502C8EAD" ] + "bundle_identifiers" : [ "com.apple.Safari.WebApp.3EB0FCA6-A252-42ED-A98F-961977EF3A80" ] } ], "type" : "basic" } ] @@ -613,7 +627,7 @@ } ], "conditions" : [ { "type" : "frontmost_application_if", - "bundle_identifiers" : [ "com.apple.Safari.WebApp.82A772AA-B484-4B6A-958B-EFC0502C8EAD" ] + "bundle_identifiers" : [ "com.apple.Safari.WebApp.3EB0FCA6-A252-42ED-A98F-961977EF3A80" ] } ], "type" : "basic" } ] @@ -2155,6 +2169,19 @@ } ] } ], "treat_as_built_in_keyboard" : false + }, { + "disable_built_in_keyboard_if_exists" : false, + "fn_function_keys" : [ ], + "identifiers" : { + "is_keyboard" : true, + "is_pointing_device" : true, + "product_id" : 1664, + "vendor_id" : 13364 + }, + "ignore" : false, + "manipulate_caps_lock_led" : false, + "simple_modifications" : [ ], + "treat_as_built_in_keyboard" : false } ], "fn_function_keys" : [ { "from" : { diff --git a/os/mac/karabiner-goku/karabiner.edn b/os/mac/karabiner-goku/karabiner.edn index 5a8ce2ec..91c6de3b 100644 --- a/os/mac/karabiner-goku/karabiner.edn +++ b/os/mac/karabiner-goku/karabiner.edn @@ -7,7 +7,7 @@ :sim 100}} :applications {;; To obtain the app ID: `grep -A1 "CFBundleIdentifier" /Applications/The.app/Contents/Info.plist` - :ChatGPT ["com.apple.Safari.WebApp.82A772AA-B484-4B6A-958B-EFC0502C8EAD"] + :ChatGPT ["com.apple.Safari.WebApp.3EB0FCA6-A252-42ED-A98F-961977EF3A80"] :Chrome ["com.google.Chrome", "com.google.Chrome.beta"] :Contexts ["com.contextsformac.Contexts"] :Finder ["com.apple.finder"] @@ -96,15 +96,17 @@ {:des "[util] Clipboard history" :rules [[:clipboard-history [:!CTO0]]]} {:des "[util] Move app to next screen and center" - :rules [[:move-next-screen [:!CTOSright_arrow :!COc]]]} + :rules [[:move-next-screen [:!CTOSright_arrow :!SOc]]]} {:des "[util] Move app to prev screen and center" - :rules [[:move-prev-screen [:!CTOSleft_arrow :!COc]]]} + :rules [[:move-prev-screen [:!CTOSleft_arrow :!SOc]]]} ;; ------------ Launchers ------------ {:des "[launch] iTerm" :rules [[:!CTOspacebar [:open-app "iTerm"]]]} {:des "[launch] IntelliJ" :rules [[:!CTOi [:open-app "IntelliJ IDEA Ultimate"]]]} + {:des "[launch] Finder" + :rules [[:!CTOf [:open-app "Finder"]]]} {:des "[launch] Chrome" :rules [[:!CTOc [:open-app "Google Chrome"]]]} {:des "[launch] Slack" diff --git a/shell/aliases.sh b/shell/aliases.sh index ee078e71..73c6930a 100644 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -9,9 +9,7 @@ alias la="eza -la --icons" # Jumps alias ~="cd ~" alias tmp="cd ~/Desktop/tmp" -alias cdc='cd ~/Code' -alias cly="cd ~/Code/codely" -alias ccc="cd ~/Code/codely/domain_events-course" +alias c="cd ~/Code/codely" # Git alias gaa="git add -A"