diff options
| author | twells46 <173561638+twells46@users.noreply.github.com> | 2025-12-31 13:28:05 -0600 |
|---|---|---|
| committer | twells46 <173561638+twells46@users.noreply.github.com> | 2025-12-31 13:28:05 -0600 |
| commit | 2140ab51deed88e90eafebf9520fa5f9995dc7c9 (patch) | |
| tree | 03cf1dcd2900495c1efb79aaa85f3254ecd5fb87 /dot_config/zed | |
| parent | ff8f50638e4b17a9d7cc88d2f0d9560b7effce39 (diff) | |
Migrate from stow
Diffstat (limited to 'dot_config/zed')
| -rw-r--r-- | dot_config/zed/kakoune-keymap.json | 19 | ||||
| -rw-r--r-- | dot_config/zed/keymap.json | 38 | ||||
| -rw-r--r-- | dot_config/zed/private_settings.json | 34 | ||||
| -rw-r--r-- | dot_config/zed/settings_backup.json | 29 | ||||
| -rw-r--r-- | dot_config/zed/themes/.keep | 0 |
5 files changed, 120 insertions, 0 deletions
diff --git a/dot_config/zed/kakoune-keymap.json b/dot_config/zed/kakoune-keymap.json new file mode 100644 index 0000000..c874e7b --- /dev/null +++ b/dot_config/zed/kakoune-keymap.json @@ -0,0 +1,19 @@ +[ + { + "context": "Editor && vim_mode == normal", + "bindings": { + "g l": "vim::EndOfLine", + "g h": "vim::StartOfLine", + "x": "editor::SelectLine", + "w": "editor::SelectToNextWordEnd" + } + }, + { + "context": "Editor && vim_mode == select", + "bindings": { + "y": "editor::Copy", + "d": "editor::Cut", + "R": "editor::Paste" + } + } +] diff --git a/dot_config/zed/keymap.json b/dot_config/zed/keymap.json new file mode 100644 index 0000000..069aff5 --- /dev/null +++ b/dot_config/zed/keymap.json @@ -0,0 +1,38 @@ +// Zed keymap +// +// For information on binding keys, see the Zed +// documentation: https://zed.dev/docs/key-bindings +// +// To see the default key bindings run `zed: open default keymap` +// from the command palette. +[ + { + "context": "Editor && (showing_code_actions || showing_completions)", + "bindings": { + "ctrl-p": "editor::ContextMenuPrevious", + "up": "editor::ContextMenuPrevious", + "ctrl-n": "editor::ContextMenuNext", + "down": "editor::ContextMenuNext", + "pageup": "editor::ContextMenuFirst", + "pagedown": "editor::ContextMenuLast" + } + }, + { + "context": "Editor && showing_completions", + "bindings": { + "ctrl-y": "editor::ConfirmCompletion" + } + }, + { + "context": "Editor && edit_prediction", + "bindings": { + "ctrl-y": "editor::AcceptEditPrediction" + } + }, + { + "context": "Editor && showing_code_actions", + "bindings": { + "ctrl-y": "editor::ConfirmCodeAction" + } + } +] diff --git a/dot_config/zed/private_settings.json b/dot_config/zed/private_settings.json new file mode 100644 index 0000000..5936bb5 --- /dev/null +++ b/dot_config/zed/private_settings.json @@ -0,0 +1,34 @@ +{ + "theme": "One Light", + "agent_ui_font_size": 12.0, + "ui_font_weight": 350.0, + "ui_font_size": 12.0, + "buffer_line_height": "standard", + "buffer_font_weight": 400.0, + "buffer_font_size": 11.0, + "buffer_font_family": "Liberation Mono", + "buffer_font_features": { + "calt": false + }, + "use_autoclose": false, + "languages": { + "TypeScript": { + "prettier": { "allowed": false } + }, + "TSX": { + "prettier": { "allowed": false } + }, + "JavaScript": { + "prettier": { "allowed": false } + } + }, + "lsp": { + "eslint": { + "settings": { + "workingDirectory": { + "mode": "auto" + } + } + } + } +} diff --git a/dot_config/zed/settings_backup.json b/dot_config/zed/settings_backup.json new file mode 100644 index 0000000..de1a865 --- /dev/null +++ b/dot_config/zed/settings_backup.json @@ -0,0 +1,29 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run `zed: open default settings` from the +// command palette (cmd-shift-p / ctrl-shift-p) +{ + "vim_mode": true, + "assistant": { + "default_model": { + "provider": "ollama", + "model": "qwen2.5-coder:latest" + }, + "version": "2" + }, + "telemetry": { + "metrics": false, + "diagnostics": false + }, + "ui_font_size": 15, + "buffer_font_size": 13, + "theme": { + "mode": "system", + "light": "Catppuccin Latte - No Italics", + "dark": "One Dark" + } +} diff --git a/dot_config/zed/themes/.keep b/dot_config/zed/themes/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dot_config/zed/themes/.keep |