diff --git a/modules/hm/zed.nix b/modules/hm/zed.nix index 718ab42..bebe8a5 100644 --- a/modules/hm/zed.nix +++ b/modules/hm/zed.nix @@ -46,11 +46,32 @@ in installRemoteServer = true; userKeymaps = [ { + context = "Editor && (showing_completions || showing code actions)"; + bindings = { + enter = "editor::Newline"; + escape = "editor:Cancel"; + }; } ]; userSettings = { + agent = { + default_model = { + provider = "copilot_chat"; + model = "claude-4"; + }; + single_file_review = true; + version = "2"; + }; baseKeymap = "VSCode"; buffer_font_size = 16; + edit_predictions = { + copilot = { + proxy = null; + proxy_no_verify = null; + }; + enable_in_text_threads = false; + mode = "subtle"; + }; features = { copilot = true; }; @@ -63,6 +84,9 @@ in light = "Gruvbox Dark"; dark = "One Dark"; }; + vim = { + toggle_relative_line_numbers = true; + }; vim_mode = true; ui_font_size = 20; };