summaryrefslogtreecommitdiff
path: root/karabiner/karabiner.json
diff options
context:
space:
mode:
authorAlex Pickering <alex@cogarr.net>2025-11-03 13:40:43 -0600
committerAlex Pickering <alex@cogarr.net>2025-11-03 13:40:43 -0600
commit5ff315f499a2442b2139f08b0db1e851926d8401 (patch)
treec8519652da69620ed5e21bebf2430402b39e2432 /karabiner/karabiner.json
parent117ba1112cf67ba1d397d14a7ff09a416d6b5a6c (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.tar.bz2
dotfiles-master.zip
Add more configsHEADmaster
Add configs for * Bat * Karabiner Elements * mcphub And update the neovim config.
Diffstat (limited to 'karabiner/karabiner.json')
-rw-r--r--karabiner/karabiner.json416
1 files changed, 416 insertions, 0 deletions
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json
new file mode 100644
index 0000000..564c604
--- /dev/null
+++ b/karabiner/karabiner.json
@@ -0,0 +1,416 @@
+{
+ "profiles": [
+ {
+ "complex_modifications": {
+ "rules": [
+ {
+ "description": "Bind Option+Tab to Command+Tab",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "tab",
+ "modifiers": {
+ "mandatory": ["option"],
+ "optional": ["left_shift"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "tab",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Cmd+L => Logout (CGSession -suspend)",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "l",
+ "modifiers": {
+ "mandatory": ["command"],
+ "optional": ["any"]
+ }
+ },
+ "to": [{ "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Ctrl+F => Cmd+F (Find)",
+ "manipulators": [
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "f",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "f",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ },
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "g",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "g",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Ctrl+A => Cmd+A (Select all)",
+ "manipulators": [
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "a",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "a",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Ctrl+C, Ctrl+V, Ctrl+X => Cmd+C (Copy), Cmd+V (Paste), Cmd+X (Cut)",
+ "manipulators": [
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$",
+ "^com\\.neovide\\.neovide$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "c",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "c",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ },
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$",
+ "^com\\.neovide\\.neovide$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "v",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "v",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ },
+ {
+ "conditions": [
+ {
+ "bundle_identifiers": [
+ "^com\\.microsoft\\.rdc$",
+ "^com\\.microsoft\\.rdc\\.mac$",
+ "^com\\.microsoft\\.rdc\\.macos$",
+ "^com\\.microsoft\\.rdc\\.osx\\.beta$",
+ "^net\\.sf\\.cord$",
+ "^com\\.thinomenon\\.RemoteDesktopConnection$",
+ "^com\\.itap-mobile\\.qmote$",
+ "^com\\.nulana\\.remotixmac$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer$",
+ "^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
+ "^com\\.teamviewer\\.TeamViewer$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.2X\\.Client\\.Mac$",
+ "^com\\.vmware\\.fusion$",
+ "^com\\.vmware\\.horizon$",
+ "^com\\.vmware\\.view$",
+ "^com\\.parallels\\.desktop$",
+ "^com\\.parallels\\.vm$",
+ "^com\\.parallels\\.desktop\\.console$",
+ "^org\\.virtualbox\\.app\\.VirtualBoxVM$",
+ "^com\\.citrix\\.XenAppViewer$",
+ "^com\\.vmware\\.proxyApp\\.",
+ "^com\\.parallels\\.winapp\\.",
+ "^tv\\.parsec\\.www$",
+ "^org\\.macports\\.X11$",
+ "^com\\.apple\\.Terminal$",
+ "^com\\.googlecode\\.iterm2$",
+ "^co\\.zeit\\.hyperterm$",
+ "^co\\.zeit\\.hyper$",
+ "^org\\.alacritty$",
+ "^net\\.kovidgoyal\\.kitty$",
+ "^com\\.github\\.wez\\.wezterm$",
+ "^com\\.neovide\\.neovide$"
+ ],
+ "type": "frontmost_application_unless"
+ }
+ ],
+ "from": {
+ "key_code": "x",
+ "modifiers": {
+ "mandatory": ["control"],
+ "optional": ["any"]
+ }
+ },
+ "to": [
+ {
+ "key_code": "x",
+ "modifiers": ["left_command"]
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ }
+ ]
+ },
+ "name": "Default profile",
+ "selected": true,
+ "simple_modifications": [
+ {
+ "from": { "apple_vendor_top_case_key_code": "keyboard_fn" },
+ "to": [{ "key_code": "left_control" }]
+ },
+ {
+ "from": { "key_code": "caps_lock" },
+ "to": [{ "key_code": "escape" }]
+ },
+ {
+ "from": { "key_code": "left_command" },
+ "to": [{ "key_code": "left_option" }]
+ },
+ {
+ "from": { "key_code": "left_option" },
+ "to": [{ "key_code": "left_command" }]
+ }
+ ],
+ "virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
+ }
+ ]
+} \ No newline at end of file