diff --git a/zed/keymap.json b/zed/keymap.json index 7a7a38d..72122ae 100644 --- a/zed/keymap.json +++ b/zed/keymap.json @@ -8,8 +8,8 @@ [ { "bindings": { - "ctrl-\\": "workspace::ToggleBottomDock" - } + "ctrl-\\": "workspace::ToggleBottomDock", + }, }, { "context": "vim_mode == normal", @@ -17,40 +17,35 @@ "space c t": "workspace::NewCenterTerminal", "space l g": [ "task::Spawn", - { "reveal_target": "center", "task_name": "lazygit" } + { "reveal_target": "center", "task_name": "lazygit" }, ], "space f w": "workspace::NewSearch", "space f p": "projects::OpenRecent", - "space f f": "file_finder::Toggle" - } + "space f f": "file_finder::Toggle", + }, }, { "context": "Terminal", "bindings": { - "ctrl-w k": "workspace::ActivatePaneUp" - } + "ctrl-w k": "workspace::ActivatePaneUp", + }, }, { "context": "Editor", "bindings": { - // "j k": ["workspace::SendKeystrokes", "escape"], "alt-c": "pane::CloseActiveItem", "alt-j": "editor::MoveLineDown", "alt-k": "editor::MoveLineUp", "shift-alt-j": "editor::AddSelectionBelow", - "shift-alt-k": "editor::AddSelectionAbove" - } + "shift-alt-k": "editor::AddSelectionAbove", + }, }, { "context": "(ProjectPanel && not_editing)", "bindings": { - "a": "project_panel::NewFile" - } + "a": "project_panel::NewFile", + "r": "project_panel::Rename", + "%": null, + }, }, - { - "context": "(ProjectPanel && not_editing)", - "bindings": { - "%": null - } - } ] diff --git a/zed/settings.json b/zed/settings.json index 32b6c50..17a0555 100644 --- a/zed/settings.json +++ b/zed/settings.json @@ -2,6 +2,11 @@ // ╭─ ─╮ // │ Extensions │ // ╰─ ─╯ + "agent": { + "dock": "right", + "favorite_models": [], + "model_parameters": [] + }, "auto_install_extensions": { "catppuccin": true, "catppuccin-icons": true, @@ -54,12 +59,14 @@ "share_on_join": false, }, "collaboration_panel": { + "dock": "left", "button": false, }, "debugger": { "dock": "left", }, "git_panel": { + "dock": "left", "button": false, }, "minimap": { @@ -159,7 +166,20 @@ // ╰─ ─╯ "languages": { "Rust": { - "tab_size": 4 - } + "tab_size": 4, + "formatter": "language_server", + }, + "TypeScript": { + "language_servers": ["!vtsls", "!typescript-language-server", "deno"], + }, + }, + "lsp": { + "deno": { + "settings": { + "deno": { + "enable": true, + }, + }, + }, }, }