Add userKeymaps to Zed

This commit is contained in:
2025-11-07 06:10:50 -05:00
parent c9973f39ae
commit 44b2d58420
2 changed files with 14 additions and 11 deletions

View File

@@ -448,16 +448,20 @@ in
};
autosave = "on_focus_change";
format_on_save = "off";
}
// (
if pkgs.stdenv.isLinux then
{
ui_font_size = lib.mkForce 20;
buffer_font_size = lib.mkForce 18;
}
else
{ }
);
ui_font_size = lib.mkForce 20;
buffer_font_size = lib.mkForce 18;
};
userKeymaps = [
{
context = "Editor && !menu";
bindings = {
"ctrl-c" = "editor::Copy";
"ctrl-x" = "editor::Cut";
"ctrl-v" = "editor::Paste";
"ctrl-z" = "editor::Undo";
};
}
];
};
firefox = {