diff options
| author | Alex Pickering <alex@cogarr.net> | 2025-11-03 13:40:43 -0600 |
|---|---|---|
| committer | Alex Pickering <alex@cogarr.net> | 2025-11-03 13:40:43 -0600 |
| commit | 5ff315f499a2442b2139f08b0db1e851926d8401 (patch) | |
| tree | c8519652da69620ed5e21bebf2430402b39e2432 | |
| parent | 117ba1112cf67ba1d397d14a7ff09a416d6b5a6c (diff) | |
| download | dotfiles-5ff315f499a2442b2139f08b0db1e851926d8401.tar.gz dotfiles-5ff315f499a2442b2139f08b0db1e851926d8401.tar.bz2 dotfiles-5ff315f499a2442b2139f08b0db1e851926d8401.zip | |
Add configs for
* Bat
* Karabiner Elements
* mcphub
And update the neovim config.
| -rw-r--r-- | bat/config | 25 | ||||
| -rw-r--r-- | karabiner/assets/complex_modifications/1747190830.json | 2021 | ||||
| -rw-r--r-- | karabiner/assets/complex_modifications/1747191146.json | 32 | ||||
| -rw-r--r-- | karabiner/karabiner.json | 416 | ||||
| -rw-r--r-- | mcphub/servers.json | 60 | ||||
| -rw-r--r-- | nvim/init.vim | 105 |
6 files changed, 2603 insertions, 56 deletions
diff --git a/bat/config b/bat/config new file mode 100644 index 0000000..d2fd0c5 --- /dev/null +++ b/bat/config @@ -0,0 +1,25 @@ +# This is `bat`s configuration file. Each line either contains a comment or +# a command-line option that you want to pass to `bat` by default. You can +# run `bat --help` to get a list of all possible configuration options. + +# Specify desired highlighting theme (e.g. "TwoDark"). Run `bat --list-themes` +# for a list of all available themes +--theme="TwoDark" + +# Enable this to use italic text on the terminal. This is not supported on all +# terminal emulators (like tmux, by default): +#--italic-text=always + +# Uncomment the following line to disable automatic paging: +#--paging=never + +# Uncomment the following line if you are using less version >= 551 and want to +# enable mouse scrolling support in `bat` when running inside tmux. This might +# disable text selection, unless you press shift. +#--pager="less --RAW-CONTROL-CHARS --quit-if-one-screen --mouse" + +# Syntax mappings: map a certain filename pattern to a language. +# Example 1: use the C++ syntax for Arduino .ino files +# Example 2: Use ".gitignore"-style highlighting for ".ignore" files +#--map-syntax "*.ino:C++" +#--map-syntax ".ignore:Git Ignore" diff --git a/karabiner/assets/complex_modifications/1747190830.json b/karabiner/assets/complex_modifications/1747190830.json new file mode 100644 index 0000000..306da80 --- /dev/null +++ b/karabiner/assets/complex_modifications/1747190830.json @@ -0,0 +1,2021 @@ +{ + "title": "Windows shortcuts on macOS", + "rules": [ + { + "description": "Ctrl+C, Ctrl+V, Ctrl+X => Cmd+C (Copy), Cmd+V (Paste), Cmd+X (Cut)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "c", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "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": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "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": "basic", + "from": { + "key_code": "x", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "x", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "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$" + ] + } + ] + } + ] + }, + { + "description": "Ctrl+Z => Cmd+Z (Undo)", + "manipulators": [ + { + "conditions": [ + { + "input_sources": [ + { + "language": "^de$" + } + ], + "type": "input_source_if" + }, + { + "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": "y", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "y", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "input_sources": [ + { + "language": "^de$" + } + ], + "type": "input_source_unless" + }, + { + "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": "z", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "z", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+Y => Cmd+Shift+Z (Redo)", + "manipulators": [ + { + "conditions": [ + { + "input_sources": [ + { + "language": "^de$" + } + ], + "type": "input_source_if" + }, + { + "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": "z", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "y", + "modifiers": [ + "left_command", + "left_shift" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "input_sources": [ + { + "language": "^de$" + } + ], + "type": "input_source_unless" + }, + { + "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": "y", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "z", + "modifiers": [ + "left_command", + "left_shift" + ] + } + ], + "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+S => Cmd+S (Save)", + "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": "s", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "s", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+N => Cmd+N (New)", + "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": "n", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "n", + "modifiers": [ + "left_command" + ] + } + ], + "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+W => Cmd+W (Close)", + "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": "w", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "w", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Alt+F4 => Cmd+Q (Exit application)", + "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$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "f4", + "modifiers": { + "mandatory": [ + "option" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Home => Cmd+Left arrow (Move cursor to beginning of line)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home" + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Shift+Home => Cmd+Shift+Left arrow (Move cursor to beginning of line with selection)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+Home, Ctrl+Shift+Home => Cmd+Up arrow, Cmd+Shift+Up arrow (Move cursor to beginning of file with and without selection)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "End => Cmd+Right arrow (Move cursor to end of line)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end" + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Shift+End => Cmd+Shift+Right arrow (Move cursor to end of line with selection)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+End, Ctrl+Shift+End => Cmd+down arrow, Cmd+Shift+down arrow (Move cursor to end of file with and without selection)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+T => Cmd+T (New tab)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "t", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "t", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+B => Cmd+B (Bold)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "b", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+I => Cmd+I (Italic)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.macports\\.X11$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.microsoft\\.rdc\\.macos$", + "^tv\\.parsec\\.www$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "i", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+L => Cmd+L (Open url location) (Only in browsers)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.mozilla\\.firefox$", + "^org\\.mozilla\\.firefoxdeveloperedition$", + "^org\\.mozilla\\.nightly$", + "^com\\.microsoft\\.Edge", + "^com\\.google\\.Chrome$", + "^com\\.brave\\.Browser$", + "^com\\.apple\\.Safari$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "l", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+R => Cmd+R (Reload) (Only in browsers)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.mozilla\\.firefox$", + "^org\\.mozilla\\.firefoxdeveloperedition$", + "^org\\.mozilla\\.nightly$", + "^com\\.microsoft\\.Edge", + "^com\\.google\\.Chrome$", + "^com\\.brave\\.Browser$", + "^com\\.apple\\.Safari$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "r", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "r", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F5 => Cmd+r (Reload)", + "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": "f5", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "r", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+Tab => Cmd+Tab (Switch application)", + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "option", + "left_shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command", + "left_shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Cmd+Tab => Cmd+Alt+0 (Reassigned command for opening Mission control)", + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "left_command" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "0", + "modifiers": [ + "left_command", + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+(Shift)+Right/left arrow => Alt+(Shift)+Right/left arrow (Move cursor one word with selection and without selection)", + "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": "left_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "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": "right_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+Up/down arrow => Up/down arrow (Move cursor up/down)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "up_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "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": "basic", + "from": { + "key_code": "down_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "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$" + ] + } + ] + } + ] + }, + { + "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+Esc => Open Launchpad", + "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$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "control" + ] + } + }, + "to": [ + { + "key_code": "launchpad", + "modifiers": [] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ctrl+Shift+Esc => Open Activity Monitor", + "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$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "control", + "shift" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Activity Monitor.app'" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Return => Cmd+o (Open) (Only in Finder)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "right_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "F2 => Return (Rename) (Only in Finder)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "f2" + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Delete => Cmd+backspace (Delete) (Only in Finder)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "delete_forward", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Backspace => Cmd+up (Go back) (Only in Finder)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "delete_or_backspace" + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Ctrl+Left Click => Cmd+Left Click (select multiple items)", + "manipulators": [ + { + "from": { + "pointing_button": "button1", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "pointing_button": "button1", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1747191146.json b/karabiner/assets/complex_modifications/1747191146.json new file mode 100644 index 0000000..3b6bc94 --- /dev/null +++ b/karabiner/assets/complex_modifications/1747191146.json @@ -0,0 +1,32 @@ +{ + "title": "Bind Option+Tab to Command+Tab ('cycle through applications')", + "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" + } + ] + } + ] +} 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 diff --git a/mcphub/servers.json b/mcphub/servers.json new file mode 100644 index 0000000..b39ceee --- /dev/null +++ b/mcphub/servers.json @@ -0,0 +1,60 @@ +{ + "mcpServers": { + "fetch": { + "args": [ + "mcp-server-fetch" + ], + "command": "uvx", + "disabled": true + }, + "filesystem": { + "args": [ + "-y", + "@modelcontextprotocol/server-filesystem", + "/Users/alexanderpickering" + ], + "command": "npx", + "disabled": false, + "disabled_tools": [ + "move_file", + "list_directory_with_sizes", + "list_allowed_directories", + "read_multiple_files", + "read_media_file", + "read_text_file" + ] + }, + "git": { + "args": [ + "mcp-server-git" + ], + "command": "uvx", + "disabled": true + }, + "memory": { + "args": [ + "-y", + "@modelcontextprotocol/server-memory" + ], + "command": "npx" + }, + "sequentialthinking": { + "args": [ + "-y", + "@modelcontextprotocol/server-sequential-thinking" + ], + "command": "npx", + "disabled_tools": [ + "sequentialthinking" + ] + } + }, + "nativeMCPServers": { + "mcphub": { + "disabled": true + }, + "neovim": { + "disabled": true + } + } +} diff --git a/nvim/init.vim b/nvim/init.vim index ccc3490..22eef03 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -133,11 +133,11 @@ Plug 'nomnivore/ollama.nvim' Plug 'nvim-lualine/lualine.nvim' " Magenta.nvim is one ai agent -" Plug 'dlants/magenta.nvim', {'do': 'npm install --frozen-lockfile'} + Plug 'dlants/magenta.nvim', {'do': 'npm install --frozen-lockfile'} " Avante.nvim is another that integrates better with ollama -Plug 'MunifTanjim/nui.nvim' -Plug 'MeanderingProgrammer/render-markdown.nvim' -Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make' } +"Plug 'MunifTanjim/nui.nvim' +"Plug 'MeanderingProgrammer/render-markdown.nvim' +"Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make' } " Oh boy windsurf Plug 'Exafunction/windsurf.vim', { 'branch': 'main' } @@ -224,7 +224,7 @@ let mapleader=";" "Fuzzy git checkout branch noremap <leader>c :call fzf#run(fzf#wrap({'sink': 'Git checkout', 'left':'20%', 'source': 'git branch \| tr -d " "' }))<Cr> -noremap <leader>a :call fzf#run(fzf#wrap({'sink': 'git checkout', 'left':'50%', 'source': 'ag --nogroup --column --color --', 'preview-window':'up','preview':expand('<sfile>:p:h:h:h').'/bin/preview.sh'}))<Cr> +"noremap <leader>a :call fzf#run(fzf#wrap({'sink': 'git checkout', 'left':'50%', 'source': 'ag --nogroup --column --color --', 'preview-window':'up','preview':expand('<sfile>:p:h:h:h').'/bin/preview.sh'}))<Cr> " which-key, helps finding keybinds noremap <leader>w lua require("which-key").show({}) @@ -324,6 +324,14 @@ function! s:Terminal() endfunction noremap <C-t> :call <SID>Terminal()<CR> +function! s:Lint() + if filereadable(".lint") + execute feedkeys(";y:vsplit\<CR>term://./lint " + expand("%") + "\<CR>") + else + execute feedkeys(":vsplit\<CR>:terminal\<CR>i") + endif +endfunction + "Find and open in a new tab noremap <C-f> :Ag<Cr> @@ -419,7 +427,7 @@ lua << EOF vim.keymap.set("n", "<f1>", "<cmd>lua vim.lsp.buf.hover()<CR>", opts) end, }) - vim.lsp.config.lua_ls.setup{ + vim.lsp.config("lua_ls", { settings={ Lua={ runtime={ @@ -436,8 +444,9 @@ lua << EOF } } } - } - vim.lsp.config.harper_ls.setup { + }) + vim.lsp.enable("lua_ls") + vim.lsp.config("harper_ls", { settings = { ["harper-ls"] = { linters = { @@ -446,7 +455,8 @@ lua << EOF } } } - } + }) + vim.lsp.enable("harper_ls") EOF if filereadable(".lspconfig") @@ -572,56 +582,38 @@ EOF " MCP-hub lua<< EOF - require("mcphub").setup() + --require("mcphub").setup() EOF " Magenta.nvim lua << EOF ---[=[ -require('magenta').setup({ - profiles = { - { - name = "local-llama3.1:8b", - provider = "ollama", - model = "llama3.1:8b" - }, - { - name = "local-llama3.2:latest", - provider = "ollama", - model = "llama3.2:latest" - }, - { - name = "local-llama3.3:latest", - provider = "ollama", - model = "llama3.3:latest" - }, - { - name = "local-qwen3:8b", - provider = "ollama", - model = "qwen3:8b" - }, - { - name = "local-qwen3:32b", - provider = "ollama", - model = "qwen3:32b" - }, - { - name = "local-qwen3:30b", - provider = "ollama", - model = "qwen3:30b" - }, - { - name = "local-deepseek", - provider = "ollama", - model = "deepseek-r1:latest" - }, - { - name = "claude-35", - provider = "anthropic", - model = "claude-3.5-haiku-latest", - apiKeyEnvVar="ANTHROPIC_API_KEY" - } +local profiles = { + { + name = "claude-4.5-sonnet", + provider = "anthropic", + model = "claude-sonnet-4-5", + apiKeyEnvVar="ANTHROPIC_API_KEY" }, + { + name = "claude-3.5-haiku", + provider = "anthropic", + model = "claude-3-5-haiku", + apiKeyEnvVar="ANTHROPIC_API_KEY" + } +} +local pd = vim.system({"ollama", "list"}, {text = true}):wait() +for line in pd.stdout:gmatch("[^\n]+") do + local model = line:match("^(%S+)") + if model ~= "NAME" then + table.insert(profiles, { + name = "local-" .. model, + provider = "ollama", + model = model + }) + end +end +require('magenta').setup({ + profiles = profiles, picker = "telescope", mcpServers = { --[[ @@ -653,11 +645,11 @@ require('magenta').setup({ "^find .*$", }, }) -]=] EOF -autocmd! User avante.nvim +"autocmd! User avante.nvim lua << EOF +--[[ require('avante').setup{ provider = "ollama", providers = { @@ -688,6 +680,7 @@ require('avante').setup{ "bash", -- Built-in terminal access } } +]] EOF " Acrisure |
