Cleanup zed-editor config

This commit is contained in:
2026-03-01 20:59:35 -05:00
parent a7bd9c8813
commit 78d9960594

View File

@@ -409,7 +409,6 @@ in
package = unstable.zed-editor; package = unstable.zed-editor;
extensions = [ extensions = [
"ansible" "ansible"
"color-highlight"
"dockerfile" "dockerfile"
"html" "html"
"make" "make"
@@ -420,17 +419,14 @@ in
]; ];
userSettings = { userSettings = {
icon_theme = "Material Icon Theme"; icon_theme = "Material Icon Theme";
features = {
edit_prediction_provider = "copilot";
};
vim_mode = true; vim_mode = true;
vim = { vim = {
use_system_clipboard = "on_yank"; use_system_clipboard = "on_yank";
}; };
autosave = "on_focus_change"; autosave = "on_focus_change";
format_on_save = "off"; format_on_save = "off";
ui_font_size = lib.mkForce 18; ui_font_size = 18;
buffer_font_size = lib.mkForce 16; buffer_font_size = 16;
}; };
userKeymaps = [ userKeymaps = [
{ {
@@ -442,6 +438,13 @@ in
"ctrl-z" = "editor::Undo"; "ctrl-z" = "editor::Undo";
}; };
} }
{
context = "vim_mode == normal";
bindings = {
"g space" = "editor::OpenExcerpts";
"shift-v" = "vim::ToggleVisualLine";
};
}
]; ];
}; };