1
0
raylu 7 сар өмнө
parent
commit
583c6c1b9f

+ 31 - 0
config/zed/keymap.json

@@ -0,0 +1,31 @@
+// 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": "Workspace",
+    "bindings": {
+      // "shift shift": "file_finder::Toggle"
+    }
+  },
+  {
+    "context": "Editor",
+    "bindings": {}
+  },
+  {
+    "context": "VimControl && !menu",
+    "bindings": {
+      "-": "vim::EndOfLine"
+    }
+  },
+  {
+    "context": "vim_mode == normal && !menu",
+    "bindings": {
+      "H": "editor::ToggleFold"
+    }
+  }
+]

+ 21 - 0
config/zed/settings.json

@@ -0,0 +1,21 @@
+// 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)
+{
+  "buffer_font_family": "InconsolataGo Nerd Font",
+  "buffer_font_size": 14,
+  "cursor_blink": false,
+  "git": { "inline_blame": { "enabled": false } },
+  "preview_tabs": { "enabled": false },
+  "search_wrap": false,
+  "ssh_connections": [{ "host": "dev", "projects": [{ "paths": ["/src"] }] }],
+  "telemetry": { "metrics": false },
+  "theme": { "mode": "system", "light": "One Light", "dark": "One Dark" },
+  "ui_font_size": 16,
+  "vim_mode": true
+}