mirror of
https://github.com/davegallant/nix-config
synced 2025-11-26 03:24:17 +00:00
Add userKeymaps to Zed
This commit is contained in:
24
home.nix
24
home.nix
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user