diff --git a/dotfiles/.config/zed/keymap.json b/dotfiles/.config/zed/keymap.json new file mode 100644 index 0000000..0a90591 --- /dev/null +++ b/dotfiles/.config/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" + }, + }, + { + "context": "Editor && vim_mode == insert", + "bindings": { + // "j k": "vim::NormalBefore" + "j k": ["workspace::SendKeystrokes", "escape"], + }, + }, +] diff --git a/dotfiles/.config/zed/settings.json b/dotfiles/.config/zed/settings.json new file mode 100644 index 0000000..99bf712 --- /dev/null +++ b/dotfiles/.config/zed/settings.json @@ -0,0 +1,65 @@ +// 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) +{ + "which_key": { + "enabled": true, + }, + "helix_mode": true, + "project_panel": { + "dock": "left", + }, + "outline_panel": { + "dock": "left", + }, + "collaboration_panel": { + "dock": "left", + }, + "agent": { + "dock": "right", + "favorite_models": [], + "model_parameters": [], + }, + "git_panel": { + "dock": "left", + }, + "disable_ai": true, + "icon_theme": { + "mode": "light", + "light": "Zed (Default)", + "dark": "Zed (Default)", + }, + "ui_font_family": "Uiua386", + "buffer_font_family": "Uiua386", + "session": { + "trust_all_worktrees": true, + }, + "vim_mode": false, + "ui_font_size": 16, + "buffer_font_size": 18.0, + "theme": { + "mode": "dark", + "light": "One Light", + "dark": "Kanagawa", + }, + "theme_overrides": { + "Kanagawa": { + "syntax": { + "comment": { "color": "#FF9E3B" }, + "comment.doc": { "color": "#FF9E3B" }, + "boolean": { "color": "#D27E99" }, + "label": { "color": "#D27E99" }, + "constant": { "color": "#D27E99" }, + "constant.builtin": { "color": "#D27E99" }, + }, + }, + }, + "auto_install_extensions": { + "kanagawa": true, + }, +}