diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-22 16:39:25 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-22 16:39:25 +0000 |
commit | a067c11db77eb039e280bb6903d37cee7c3058e1 (patch) | |
tree | 5bdfa495e8037eb8f4564f697cd46e85940a47d6 | |
parent | d4d824db1b4b0b77d1bce63c23e06bacdac19b2a (diff) |
Adds zed configs
-rw-r--r-- | zed/keymap.json | 22 | ||||
-rw-r--r-- | zed/settings.json | 60 |
2 files changed, 82 insertions, 0 deletions
diff --git a/zed/keymap.json b/zed/keymap.json new file mode 100644 index 0000000..591ab50 --- /dev/null +++ b/zed/keymap.json @@ -0,0 +1,22 @@ +// 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" + "alt-`": "workspace::ToggleBottomDock" + } + }, + { + "context": "Editor", + "bindings": { + // "j k": ["workspace::SendKeystrokes", "escape"] + } + } +] diff --git a/zed/settings.json b/zed/settings.json new file mode 100644 index 0000000..58c5898 --- /dev/null +++ b/zed/settings.json @@ -0,0 +1,60 @@ +// 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) +{ + "assistant": { + "default_model": { + "provider": "zed.dev", + "model": "claude-3-5-sonnet-latest" + }, + "version": "2" + }, + "languages": { + "Ruby": { + "language_servers": [ + "ruby-lsp", + "!solargraph", + "!rubocop", + "tailwindcss-language-server" + ] + } + }, + "lsp": { + "tailwindcss-language-server": { + "settings": { + "includeLanguages": { + "erb": "html", + "ruby": "html" + }, + "experimental": { + "classRegex": ["\\bclass:\\s*['\"]([^'\"]*)['\"]"] + } + } + }, + "ruby-lsp": { + "initialization_options": { + "enabledFeatures": { + "diagnostics": true + } + } + } + }, + "base_keymap": "VSCode", + "telemetry": { + "diagnostics": false, + "metrics": false + }, + "vim_mode": true, + "ui_font_size": 16, + "buffer_font_family": "Iosevka Nerd Font", + "buffer_font_size": 17, + "theme": { + "mode": "system", + "light": "Rosé Pine", + "dark": "One Dark" + } +} |