aboutsummaryrefslogtreecommitdiff
path: root/dot_config/zed
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zed')
-rw-r--r--dot_config/zed/kakoune-keymap.json19
-rw-r--r--dot_config/zed/keymap.json38
-rw-r--r--dot_config/zed/private_settings.json34
-rw-r--r--dot_config/zed/settings_backup.json29
-rw-r--r--dot_config/zed/themes/.keep0
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