From 84f9b8f1f9821c773fffeb9a835c24e8ca264008 Mon Sep 17 00:00:00 2001 From: Mikkel Malmberg Date: Tue, 14 May 2024 09:54:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=81=EF=B8=8F=E2=80=8D=F0=9F=97=A8?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .../hammerspoon.symlink/caffeine/awake.pdf | Bin 3987 -> 0 bytes .../caffeine/caffeine.sketch | Bin 32768 -> 0 bytes .../hammerspoon.symlink/caffeine/init.lua | 20 - .../hammerspoon.symlink/caffeine/sleepy.pdf | Bin 3906 -> 0 bytes hammerspoon/hammerspoon.symlink/hjkl/init.lua | 58 -- hammerspoon/hammerspoon.symlink/init.lua | 1 - .../window-management/init.lua | 126 ---- .../automatic_backups/karabiner_20231110.json | 183 ----- .../automatic_backups/karabiner_20231123.json | 325 --------- .../automatic_backups/karabiner_20240103.json | 395 ---------- .../automatic_backups/karabiner_20240417.json | 642 ----------------- .../automatic_backups/karabiner_20240420.json | 678 ------------------ .../automatic_backups/karabiner_20240421.json | 673 ----------------- karabiner/karabiner.json | 2 +- nvim/init.lua | 8 + nvim/lua/plugins/coding.lua | 42 +- nvim/lua/plugins/formatting.lua | 27 +- nvim/lua/plugins/lsp.lua | 3 + nvim/lua/plugins/obsidian.lua | 2 +- nvim/lua/plugins/ui.lua | 12 + tmux/tmux.conf.symlink | 1 + wezterm/wezterm.lua.symlink | 29 +- 23 files changed, 91 insertions(+), 3137 deletions(-) delete mode 100644 hammerspoon/hammerspoon.symlink/caffeine/awake.pdf delete mode 100644 hammerspoon/hammerspoon.symlink/caffeine/caffeine.sketch delete mode 100644 hammerspoon/hammerspoon.symlink/caffeine/init.lua delete mode 100644 hammerspoon/hammerspoon.symlink/caffeine/sleepy.pdf delete mode 100644 hammerspoon/hammerspoon.symlink/hjkl/init.lua delete mode 100644 hammerspoon/hammerspoon.symlink/window-management/init.lua delete mode 100644 karabiner/automatic_backups/karabiner_20231110.json delete mode 100644 karabiner/automatic_backups/karabiner_20231123.json delete mode 100644 karabiner/automatic_backups/karabiner_20240103.json delete mode 100644 karabiner/automatic_backups/karabiner_20240417.json delete mode 100644 karabiner/automatic_backups/karabiner_20240420.json delete mode 100644 karabiner/automatic_backups/karabiner_20240421.json diff --git a/.gitignore b/.gitignore index 13bdcce..66723d4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ doc/tags nvim/plugin/packer_compiled.lua nvim/lazy-lock.json brew/Brewfile.symlink.lock.json +karabiner/automatic_backups diff --git a/hammerspoon/hammerspoon.symlink/caffeine/awake.pdf b/hammerspoon/hammerspoon.symlink/caffeine/awake.pdf deleted file mode 100644 index b7a1b17aea2bcea3c995afdf665d26ea80c09b1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3987 zcmai%c|25KAIB|I7=_A`rMk(Cl$gbkWE~8p#*(r##@HD#mXuJIY{|ZqB(fw+jY>3R z$r6uAwp2)rC0k0i;pe%ddVcl%p4aQSb6@wK`P_5P_nhzN{PF(647GKSAmz|dSR>;r zW2)fWo!5;`Pz3-1knLTe$BzT@1|&}>iZg%#C1XHd*TtPe@&@1T1PV!;L?k^Pst^2{g`Ot;y&c*>zQ<$#3h&B|1+V}Zw*i4)T;Z!~38 zcReZ{EO1A3jVx?2)w64Yk~|%LZV_y;GQ&y->y1JxvOaD$e@oh#3tl8Z-jLw5`Sd1v zQULUi1R9fk$iCi0k`JKxL%@fR%JG!>33NE(9%d0APs#1tc0kA*`Wbiho97 zjrwJcp*NXmLZSecU?^=}z#5RplHJMPCSC+031E4L^+5tko71YPv26M|$I;*B_-U{5 zW-s~E;4|MFC0myDbZf}}fnX?XOUa;dLC5bwMyjQQ-_wjrcFl?$b($--N#Jcg!m0-RN zX0A7z5A}~f?dx}%3+k(4GhDj@si&B+hbZKj3C>Q{S?%1_*0{v6TY#ODMNu1& zR|_d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!dy2E@os>UpbwmCv*tix~ZJ) zfBCCcQ}}#Llt|>Ua}>3ziqSV&rRAlAZJ}vpHuKNCi{8_iYo=+%PNmA$DnVI6w3&$Y zxZb_hw^MDWFS|@Wp7WqhdQsO?M@p{OYzZ1)wPwl>E>;CGu5V3!t|X!J3956Q+z}vR(>O8 zr3~M&g0rfsVY5s4dMk0TXICzRc z1n?$+8GuB{fj1g3@+Ejv0s)ZFH&H);BJ*qANLFN4n1kBKPzWRj0sfE(1tc0{fj~%u z_uoB#TMtP64!%UN2-}PaRt#9M_M*6uJ+)cLzBwnWj37Jw{{Qcl26&Skp{&9Jiulh3 zC}J>Z4B!a-)X)mbV1dKB0MB0<0*wau_@{$sUZ+3a9jVSp;^oNFHHdr`u3-W zMxntf=uZty%KwOq{6{}D8Uwoa=UB7?xPyOanBU@3ya_JuB=5~i*Tf|d%pX_)8I#H2 z`Cy#^Fp>J6j%4t#{Ag=~$K^N@Lr_q}5Qs+|2}C3YgCP>o2t{Qyk$_TmAfc5|YS91R a1uWJ;OMEEc(bzNujZs2CVK5!MF7)3W-ocCj diff --git a/hammerspoon/hammerspoon.symlink/caffeine/caffeine.sketch b/hammerspoon/hammerspoon.symlink/caffeine/caffeine.sketch deleted file mode 100644 index 41ddb764aac706d76bdae3a44412ddd89bdd389c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32768 zcmeHw33yZ0*7n|KpAJdWHcir|&CrH4O(%j$Gb;)i1*A+JC}T<6&_>#(BrTJohgrc1 z#Q{XdiVP~wdan~)^(rcY2nYz`1kQ>BD(cmLopaiB0Pelt_uc3D{{MdxO>)kj)>`jg zd+m4a9Bakck)igWW_mc%5@^?$kp^LmhH5kjApyK;cz3@jxafV4yDR?5w*VPVC!|6H zDz63QJqaK2R~&&j0&xW52*eSHBM?U*jzAoNI0A75;t0eMh$9e3AdWyBfj9zj1mXz9 z5r`uYM<9+s9Dz6jaRlNB#1Z&^9RWX;C|4?Rusu-M9Bd2BZ4L(-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y2``HO0G&-zwf;e4zNf;uFOui$5toUHn7w+2Wr|;P-+O zxq?lCg(b^MZY+7Eq-}u-oT&3!-E6di++gz?*1%Y{(k_Kj(1o9 diff --git a/hammerspoon/hammerspoon.symlink/caffeine/init.lua b/hammerspoon/hammerspoon.symlink/caffeine/init.lua deleted file mode 100644 index 24fea61..0000000 --- a/hammerspoon/hammerspoon.symlink/caffeine/init.lua +++ /dev/null @@ -1,20 +0,0 @@ -local caffeine = hs.menubar.new() - -local function setCaffeineDisplay(state) - if state then - caffeine:setIcon("caffeine/awake.pdf") - else - caffeine:setIcon("caffeine/sleepy.pdf") - end -end - -local function caffeineClicked() - setCaffeineDisplay(hs.caffeinate.toggle("displayIdle")) -end - -if caffeine then - caffeine:setClickCallback(caffeineClicked) - setCaffeineDisplay(hs.caffeinate.get("displayIdle")) -end - -caffeineClicked() -- caffeine starts on diff --git a/hammerspoon/hammerspoon.symlink/caffeine/sleepy.pdf b/hammerspoon/hammerspoon.symlink/caffeine/sleepy.pdf deleted file mode 100644 index 4cbc8bcc56e8619feb711095ab1be551090d3e48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3906 zcmai%c|25o7r-r37(ykol$(c3C9-A-BiRxqiAb^(MKty` zy(ZaGAu%K*OV;GQ)ABw&%jfgnxu1J~bME<_bAIQXKfXuCSXW;GsfdQkG%@FyQ~3+G zUNp5pF#rOf5L}^0jsS2&qNg*}1;BzLQvj|{cBc}(z_&Y|O4KDfQk;l@x;oUG>P5tR zK>gWIB-BG20YTl_)mT*#S3jD;=m4C1?>xJmsS7lFQ(*8Bc3b%9if^k=D{T)4{8io1 zBH2~S$6nl4(O>KBB`(j&6S;hSsmc1KSM7NOqKe(QJvDn?bTyMd@9b?VL)tAqJB+Vf zXv$rRec5tI{Enzva3E9CuXH7_!a)tzw${4J8K$ae4kdaz{fr1)u@1tDp7lnev8<1* zCF-{`o;rV)2*8c;&flM2L{BP!{&8MYqBq6I%aP~}DE$!VP&}#NcW;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qKug!ZP-Ze3I98pnq2)~K%aEqP2heHiQZBhTjL#|{Ns#z5J9i^3!s9&(k;#Zaogj@q19c{cf z(FtGytSMmoONE8jznJ(>^7j6BmS#b+56I(40Dhe8ID#|Ncc0+IpaYIdR5Ha=mxb)#ZL-D) ziqr4^|BTe%i%5d91`8JEX7}C z2m}f|*570(G?<^i$^KC6SP5v=WL$RKemgsu*RA pBNDBGMH7_~1Qf|h9s2)Oezco66>N>~1wms}RG~65dPe%t{{qGon6dx> diff --git a/hammerspoon/hammerspoon.symlink/hjkl/init.lua b/hammerspoon/hammerspoon.symlink/hjkl/init.lua deleted file mode 100644 index c535311..0000000 --- a/hammerspoon/hammerspoon.symlink/hjkl/init.lua +++ /dev/null @@ -1,58 +0,0 @@ -local function pressFn(mods, key) - if key == nil then - key = mods - mods = {} - end - - return function() - hs.eventtap.keyStroke(mods, key, 1000) - end -end - -local function remap(mods, key, fn) - hs.hotkey.bind(mods, key, fn, nil, fn) -end - --- bonus! -remap({ "ctrl" }, ";", pressFn("delete")) - --- hjkl -remap({ "ctrl" }, "h", pressFn("left")) -remap({ "ctrl" }, "j", pressFn("down")) -remap({ "ctrl" }, "k", pressFn("up")) -remap({ "ctrl" }, "l", pressFn("right")) - -remap({ "ctrl", "shift" }, "h", pressFn({ "shift" }, "left")) -remap({ "ctrl", "shift" }, "j", pressFn({ "shift" }, "down")) -remap({ "ctrl", "shift" }, "k", pressFn({ "shift" }, "up")) -remap({ "ctrl", "shift" }, "l", pressFn({ "shift" }, "right")) - -remap({ "ctrl", "cmd" }, "h", pressFn({ "cmd" }, "left")) -remap({ "ctrl", "cmd" }, "j", pressFn({ "cmd" }, "down")) -remap({ "ctrl", "cmd" }, "k", pressFn({ "cmd" }, "up")) -remap({ "ctrl", "cmd" }, "l", pressFn({ "cmd" }, "right")) - -remap({ "ctrl", "alt" }, "h", pressFn({ "alt" }, "left")) -remap({ "ctrl", "alt" }, "j", pressFn({ "alt" }, "down")) -remap({ "ctrl", "alt" }, "k", pressFn({ "alt" }, "up")) -remap({ "ctrl", "alt" }, "l", pressFn({ "alt" }, "right")) - -remap({ "ctrl", "shift", "cmd" }, "h", pressFn({ "shift", "cmd" }, "left")) -remap({ "ctrl", "shift", "cmd" }, "j", pressFn({ "shift", "cmd" }, "down")) -remap({ "ctrl", "shift", "cmd" }, "k", pressFn({ "shift", "cmd" }, "up")) -remap({ "ctrl", "shift", "cmd" }, "l", pressFn({ "shift", "cmd" }, "right")) - -remap({ "ctrl", "shift", "alt" }, "h", pressFn({ "shift", "alt" }, "left")) -remap({ "ctrl", "shift", "alt" }, "j", pressFn({ "shift", "alt" }, "down")) -remap({ "ctrl", "shift", "alt" }, "k", pressFn({ "shift", "alt" }, "up")) -remap({ "ctrl", "shift", "alt" }, "l", pressFn({ "shift", "alt" }, "right")) - -remap({ "ctrl", "cmd", "alt" }, "h", pressFn({ "cmd", "alt" }, "left")) -remap({ "ctrl", "cmd", "alt" }, "j", pressFn({ "cmd", "alt" }, "down")) -remap({ "ctrl", "cmd", "alt" }, "k", pressFn({ "cmd", "alt" }, "up")) -remap({ "ctrl", "cmd", "alt" }, "l", pressFn({ "cmd", "alt" }, "right")) - -remap({ "ctrl", "cmd", "alt", "shift" }, "h", pressFn({ "cmd", "alt", "shift" }, "left")) -remap({ "ctrl", "cmd", "alt", "shift" }, "j", pressFn({ "cmd", "alt", "shift" }, "down")) -remap({ "ctrl", "cmd", "alt", "shift" }, "k", pressFn({ "cmd", "alt", "shift" }, "up")) -remap({ "ctrl", "cmd", "alt", "shift" }, "l", pressFn({ "cmd", "alt", "shift" }, "right")) diff --git a/hammerspoon/hammerspoon.symlink/init.lua b/hammerspoon/hammerspoon.symlink/init.lua index 26cecf3..e378e1e 100644 --- a/hammerspoon/hammerspoon.symlink/init.lua +++ b/hammerspoon/hammerspoon.symlink/init.lua @@ -4,5 +4,4 @@ end hs.pathwatcher.new(os.getenv("HOME") .. "/.hammerspoon/", reload_config):start() hs.alert.show(" ✔︎") -require("window-management") require("mouse_four_five") diff --git a/hammerspoon/hammerspoon.symlink/window-management/init.lua b/hammerspoon/hammerspoon.symlink/window-management/init.lua deleted file mode 100644 index 1f0cab5..0000000 --- a/hammerspoon/hammerspoon.symlink/window-management/init.lua +++ /dev/null @@ -1,126 +0,0 @@ --- local hyper = { "cmd", "alt", "ctrl", "shift" } - -hs.urlevent.bind("win-full", function() - local win = hs.window.focusedWindow() - if not win then - return - end - win:setFrame(win:screen():frame()) -end) - --- hs.hotkey.bind(hyper, "1", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- win:setFrame(win:screen():frame()) --- end) --- --- hs.hotkey.bind(hyper, "2", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- hs.grid.set(win, { x = 1, y = 0, w = 10, h = 12 }, win:screen()) --- end) --- --- hs.hotkey.bind(hyper, "-", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- local f = win:frame() --- local screen = win:screen() --- --- f.x = (screen:frame().w / 2) - (f.w / 2) --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "=", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- local f = win:frame() --- local screen = win:screen() --- --- f.y = 0 --- f.h = screen:frame().h --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "6", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- local screen = win:screen() --- --- local f = win:frame() --- f.w = 770 --- f.h = 550 --- f.y = (screen:frame().h / 2) - (f.h / 2) --- f.x = (screen:frame().w / 2) - (f.w / 2) --- --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "7", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- --- local f = win:frame() --- f.w = 1280 --- f.h = 720 --- f.y = 0 --- f.x = 0 --- --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "8", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- --- local f = win:frame() --- f.w = 1920 --- f.h = 1080 --- f.y = 20 --- f.x = 0 --- --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "9", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- --- local f = win:frame() --- f.w = 1920 / 9 * 5 --- f.h = 1080 --- f.y = 20 --- f.x = 0 --- --- win:setFrame(f) --- end) --- --- hs.hotkey.bind(hyper, "0", function() --- local win = hs.window.focusedWindow() --- if not win then --- return --- end --- --- local f = win:frame() --- f.w = 1920 / 9 * 4 --- f.h = 1080 --- f.y = 20 -- (screen:frame().h / 2) - (f.h / 2) --- f.x = 1920 - f.w --- --- win:setFrame(f) --- end) diff --git a/karabiner/automatic_backups/karabiner_20231110.json b/karabiner/automatic_backups/karabiner_20231110.json deleted file mode 100644 index f9fc67b..0000000 --- a/karabiner/automatic_backups/karabiner_20231110.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "", - "manipulators": [ - { - "from": { - "key_code": "s", - "simultaneous": [ - { - "key_code": "l" - } - ] - }, - "to": [ - { - "key_code": "escape", - "repeat": false - } - ], - "type": "basic" - }, - { - "type": "basic" - } - ] - } - ] - }, - "devices": [], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20231123.json b/karabiner/automatic_backups/karabiner_20231123.json deleted file mode 100644 index dac80d3..0000000 --- a/karabiner/automatic_backups/karabiner_20231123.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Vi Mode [left_control + hjkl]", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "j", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Map S+L to Escape", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "to_after_key_up": [ - { - "key_code": "escape" - } - ] - } - }, - "to": [ - { - "key_code": "vk_none" - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20240103.json b/karabiner/automatic_backups/karabiner_20240103.json deleted file mode 100644 index d029c68..0000000 --- a/karabiner/automatic_backups/karabiner_20240103.json +++ /dev/null @@ -1,395 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Vi Mode [left_control + hjkl]", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "j", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Map S+L to Escape", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "to_after_key_up": [ - { - "key_code": "escape" - } - ] - } - }, - "to": [ - { - "key_code": "vk_none" - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 60439, - "vendor_id": 36125 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default profile", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20240417.json b/karabiner/automatic_backups/karabiner_20240417.json deleted file mode 100644 index 7d8e971..0000000 --- a/karabiner/automatic_backups/karabiner_20240417.json +++ /dev/null @@ -1,642 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": true, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Vi Mode [left_control + hjkl]", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "j", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Map S+L to Escape", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "to_after_key_up": [ - { - "key_code": "escape" - } - ] - } - }, - "to": [ - { - "key_code": "vk_none" - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 60439, - "vendor_id": 36125 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - }, - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Off", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": false, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20240420.json b/karabiner/automatic_backups/karabiner_20240420.json deleted file mode 100644 index 50f0bdb..0000000 --- a/karabiner/automatic_backups/karabiner_20240420.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": false, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Ctrl Key → Hyper Key (⌃⌥⇧⌘)", - "manipulators": [ - { - "from": { - "key_code": "right_control", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Vi Mode [left_control + hjkl]", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "j", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Map S+L to Escape", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "to_after_key_up": [ - { - "key_code": "escape" - } - ] - } - }, - "to": [ - { - "key_code": "vk_none" - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - }, - { - "from": { - "apple_vendor_top_case_key_code": "keyboard_fn" - }, - "to": [ - { - "key_code": "right_control" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 60439, - "vendor_id": 36125 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - }, - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Off", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": false, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20240421.json b/karabiner/automatic_backups/karabiner_20240421.json deleted file mode 100644 index 318798e..0000000 --- a/karabiner/automatic_backups/karabiner_20240421.json +++ /dev/null @@ -1,673 +0,0 @@ -{ - "global": { - "ask_for_confirmation_before_quitting": true, - "check_for_updates_on_startup": true, - "show_in_menu_bar": false, - "show_profile_name_in_menu_bar": false, - "unsafe_ui": false - }, - "profiles": [ - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "Ctrl Key → Hyper Key (⌃⌥⇧⌘)", - "manipulators": [ - { - "from": { - "key_code": "right_control" - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Vi Mode [left_control + hjkl]", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "j", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "k", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "l", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "command", - "option", - "shift", - "fn" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Map S+L to Escape", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "to_after_key_up": [ - { - "key_code": "escape" - } - ] - } - }, - "to": [ - { - "key_code": "vk_none" - } - ], - "type": "basic" - } - ] - } - ] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [ - { - "from": { - "apple_vendor_top_case_key_code": "keyboard_fn" - }, - "to": [ - { - "key_code": "right_control" - } - ] - }, - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "left_control" - } - ] - } - ], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 60439, - "vendor_id": 36125 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 50503, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 305, - "vendor_id": 2539 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Default", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": true, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - }, - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 500, - "basic.to_if_alone_timeout_milliseconds": 1000, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [] - }, - "devices": [ - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "game_pad_swap_sticks": false, - "identifiers": { - "is_game_pad": false, - "is_keyboard": false, - "is_pointing_device": true, - "product_id": 834, - "vendor_id": 1452 - }, - "ignore": true, - "manipulate_caps_lock_led": false, - "mouse_flip_horizontal_wheel": false, - "mouse_flip_vertical_wheel": false, - "mouse_flip_x": false, - "mouse_flip_y": false, - "mouse_swap_wheels": false, - "mouse_swap_xy": false, - "simple_modifications": [], - "treat_as_built_in_keyboard": false - } - ], - "fn_function_keys": [ - { - "from": { - "key_code": "f1" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ] - }, - { - "from": { - "key_code": "f2" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ] - }, - { - "from": { - "key_code": "f3" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "mission_control" - } - ] - }, - { - "from": { - "key_code": "f4" - }, - "to": [ - { - "apple_vendor_keyboard_key_code": "spotlight" - } - ] - }, - { - "from": { - "key_code": "f5" - }, - "to": [ - { - "consumer_key_code": "dictation" - } - ] - }, - { - "from": { - "key_code": "f6" - }, - "to": [ - { - "key_code": "f6" - } - ] - }, - { - "from": { - "key_code": "f7" - }, - "to": [ - { - "consumer_key_code": "rewind" - } - ] - }, - { - "from": { - "key_code": "f8" - }, - "to": [ - { - "consumer_key_code": "play_or_pause" - } - ] - }, - { - "from": { - "key_code": "f9" - }, - "to": [ - { - "consumer_key_code": "fast_forward" - } - ] - }, - { - "from": { - "key_code": "f10" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ] - }, - { - "from": { - "key_code": "f11" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ] - }, - { - "from": { - "key_code": "f12" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ] - } - ], - "name": "Off", - "parameters": { - "delay_milliseconds_before_open_device": 1000 - }, - "selected": false, - "simple_modifications": [], - "virtual_hid_keyboard": { - "country_code": 0, - "indicate_sticky_modifier_keys_state": true, - "mouse_key_xy_scale": 100 - } - } - ] -} \ No newline at end of file diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index 08fa2a8..650822a 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -18,7 +18,7 @@ }, "rules": [ { - "description": "Map f+j to Escape", + "description": "Akimbo cmd to F12", "manipulators": [ { "from": { diff --git a/nvim/init.lua b/nvim/init.lua index 59ae914..320a8d8 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -12,6 +12,14 @@ require("lazy").setup({ opts = { colorscheme = "zenbones" }, import = "lazyvim.plugins", }, + { import = "lazyvim.plugins.extras.coding.copilot" }, + { import = "lazyvim.plugins.extras.editor.mini-move" }, + { import = "lazyvim.plugins.extras.editor.dial" }, + { import = "lazyvim.plugins.extras.formatting.prettier" }, + { import = "lazyvim.plugins.extras.lang.tailwind" }, + { import = "lazyvim.plugins.extras.lang.typescript" }, + { import = "lazyvim.plugins.extras.linting.eslint" }, + { import = "lazyvim.plugins.extras.util.mini-hipatterns" }, { import = "plugins" }, }, { checker = { enabled = true }, diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index 7a989d3..a2f069a 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -6,30 +6,31 @@ return { end, dependencies = {}, }, + { "rafamadriz/friendly-snippets", enabled = false }, { "hrsh7th/nvim-cmp", - opts = function(_, _) - -- local cmp = require("cmp") - -- opts.mapping = cmp.mapping.preset.insert(vim.tbl_deep_extend("force", opts.mapping, { - -- [""] = vim.NIL, - -- -- [""] = vim.NIL, - -- [""] = cmp.mapping.complete(), - -- [""] = cmp.mapping.complete(), - -- })) - -- opts.completion = { - -- autocomplete = { - -- completeopt = "menu,menuone,noinsert", - -- -- completeopt = "menu,menuone", - -- }, - -- } - -- -- opts.experimental = { - -- -- -- ghost_text = false, - -- -- } + opts = function(opts, _) + opts.completion = { + autocomplete = { + completeopt = "menu,menuone,noinsert", + -- completeopt = "menu,menuone", + }, + } end, }, { "echasnovski/mini.pairs", enabled = false }, + -- extras + { + "zbirenbaum/copilot.lua", + opts = function(_, opts) + opts.filetypes = { + markdown = false, + } + end, + }, + -- additions "tpope/vim-abolish", -- :S smart replace "tpope/vim-eunuch", -- unix things @@ -55,5 +56,10 @@ return { end, }, - "mattn/emmet-vim", + { + "olrtg/nvim-emmet", + config = function() + vim.keymap.set({ "n", "v" }, "xe", require("nvim-emmet").wrap_with_abbreviation) + end, + }, } diff --git a/nvim/lua/plugins/formatting.lua b/nvim/lua/plugins/formatting.lua index b9f6fe4..0e98073 100644 --- a/nvim/lua/plugins/formatting.lua +++ b/nvim/lua/plugins/formatting.lua @@ -4,9 +4,10 @@ return { opts = { formatters_by_ft = { solidity = { "forge" }, - eruby = { "erb_format", "rustywind" }, + eruby = { "erb-format", "rustywind" }, slim = { "rustywind" }, ruby = { "rubyfmt", "rustywind" }, + yaml = {}, }, formatters = { forge = { @@ -14,18 +15,18 @@ return { args = { "fmt", "-r", "-" }, stdin = true, }, - erb_format = { - command = "erb-format", - args = { "--stdin" }, - stdin = true, - condition = function(ctx) - local basename = vim.fs.basename(ctx.filename) - if basename and string.match(basename, ".yml$") then - return false - end - return true - end, - }, + -- erb_format = { + -- command = "erb-format", + -- args = { "--stdin" }, + -- stdin = true, + -- condition = function(ctx) + -- local basename = vim.fs.basename(ctx.filename) + -- if basename and string.match(basename, ".yml$") then + -- return false + -- end + -- return true + -- end, + -- }, }, }, }, diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index dcb7ee9..a4cf7cd 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -35,6 +35,9 @@ return { "prettierd", "tailwindcss-language-server", "typescript-language-server", + "erb-formatter", + "emmet-language-server", + "eslint-lsp", }, }, }, diff --git a/nvim/lua/plugins/obsidian.lua b/nvim/lua/plugins/obsidian.lua index f8cf192..6dac61b 100644 --- a/nvim/lua/plugins/obsidian.lua +++ b/nvim/lua/plugins/obsidian.lua @@ -14,7 +14,7 @@ return { workspaces = { { name = "Wiki", - path = "/Users/mikker/Library/Mobile Documents/iCloud~md~obsidian/Documents/Wiki", + path = "/Users/mikker/Library/Mobile Documents/iCloud~md~obsidian/Wiki", overrides = { daily_notes = { folder = "02 Calendar/Journals/", diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 468e128..f6af81f 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -2,6 +2,17 @@ return { -- no bufferline { "akinsho/bufferline.nvim", enabled = false }, + { + "nvim-lualine/lualine.nvim", + opts = function(_, opts) + opts.options.section_separators = "" + opts.options.component_separators = "" + opts.sections.lualine_y = {} + opts.sections.lualine_z = {} + return opts + end, + }, + -- no indent guides { "lukas-reineke/indent-blankline.nvim", enabled = false }, { @@ -12,6 +23,7 @@ return { -- no fancy ui { "folke/noice.nvim", enabled = false }, + { "stevearc/dressing.nvim", enabled = false }, -- extend whick-key legend { diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index 8a47002..44c5436 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -68,6 +68,7 @@ set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'nhdaly/tmux-scroll-copy-mode' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'joshmedeski/tmux-fzf-url' +set -g @plugin 'joshmedeski/tmux-nerd-font-window-name' # Local config if-shell "[ -f ~/.tmux.local.conf ]" 'source ~/.tmux.local.conf' diff --git a/wezterm/wezterm.lua.symlink b/wezterm/wezterm.lua.symlink index 66a0b58..0d89b0f 100644 --- a/wezterm/wezterm.lua.symlink +++ b/wezterm/wezterm.lua.symlink @@ -1,5 +1,4 @@ local wezterm = require("wezterm") - local config = wezterm.config_builder() local scheme_for_apperance = function(appearance) @@ -29,13 +28,37 @@ config.window_padding = { top = 8, bottom = 4, } +config.initial_rows = 38 +config.initial_cols = 120 config.keys = { - -- Make Option-Left equivalent to Alt-b which many line editors interpret as backward-word + -- macOS style text jumps { key = "LeftArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bb" }) }, - -- Make Option-Right equivalent to Alt-f; forward-word { key = "RightArrow", mods = "OPT", action = wezterm.action({ SendString = "\x1bf" }) }, + { key = "Backspace", mods = "OPT", action = wezterm.action({ SendString = "\x17" }) }, + { key = "LeftArrow", mods = "SUPER", action = wezterm.action({ SendKey = { key = "Home" } }) }, + { key = "RightArrow", mods = "SUPER", action = wezterm.action({ SendKey = { key = "End" } }) }, + { key = "RightArrow", mods = "SUPER", action = wezterm.action({ SendString = "\x1bf" }) }, + { key = "Backspace", mods = "SUPER", action = wezterm.action({ SendString = "\x15" }) }, + + { key = "k", mods = "CMD", action = wezterm.action.ActivateCommandPalette }, + + -- Send cmd+shift+[ or ] to switch tmux windows, like browser tabs + -- Remember to unbind the default keys in System Preferences > Keyboard > Shortcuts + { key = "{", mods = "SUPER|SHIFT", action = wezterm.action({ SendString = "\x02p" }) }, + { key = "}", mods = "SUPER|SHIFT", action = wezterm.action({ SendString = "\x02n" }) }, + { key = "[", mods = "SUPER", action = wezterm.action({ SendString = "\x02b" }) }, + { key = "1", mods = "SUPER", action = wezterm.action({ SendString = "\x021" }) }, + { key = "2", mods = "SUPER", action = wezterm.action({ SendString = "\x022" }) }, + { key = "3", mods = "SUPER", action = wezterm.action({ SendString = "\x023" }) }, + { key = "4", mods = "SUPER", action = wezterm.action({ SendString = "\x024" }) }, + { key = "5", mods = "SUPER", action = wezterm.action({ SendString = "\x025" }) }, + { key = "6", mods = "SUPER", action = wezterm.action({ SendString = "\x026" }) }, + { key = "7", mods = "SUPER", action = wezterm.action({ SendString = "\x027" }) }, + { key = "8", mods = "SUPER", action = wezterm.action({ SendString = "\x028" }) }, + { key = "9", mods = "SUPER", action = wezterm.action({ SendString = "\x029" }) }, } + config.send_composed_key_when_left_alt_is_pressed = true config.send_composed_key_when_right_alt_is_pressed = false