mirror of
https://github.com/davegallant/nix-config
synced 2026-01-07 02:34:07 +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";
|
autosave = "on_focus_change";
|
||||||
format_on_save = "off";
|
format_on_save = "off";
|
||||||
}
|
ui_font_size = lib.mkForce 20;
|
||||||
// (
|
buffer_font_size = lib.mkForce 18;
|
||||||
if pkgs.stdenv.isLinux then
|
};
|
||||||
{
|
userKeymaps = [
|
||||||
ui_font_size = lib.mkForce 20;
|
{
|
||||||
buffer_font_size = lib.mkForce 18;
|
context = "Editor && !menu";
|
||||||
}
|
bindings = {
|
||||||
else
|
"ctrl-c" = "editor::Copy";
|
||||||
{ }
|
"ctrl-x" = "editor::Cut";
|
||||||
);
|
"ctrl-v" = "editor::Paste";
|
||||||
|
"ctrl-z" = "editor::Undo";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox = {
|
firefox = {
|
||||||
|
|||||||
@@ -101,7 +101,6 @@
|
|||||||
kdePackages.sddm-kcm
|
kdePackages.sddm-kcm
|
||||||
libation
|
libation
|
||||||
libsForQt5.bluez-qt
|
libsForQt5.bluez-qt
|
||||||
mission-center
|
|
||||||
mupen64plus
|
mupen64plus
|
||||||
nfs-utils
|
nfs-utils
|
||||||
onlyoffice-desktopeditors
|
onlyoffice-desktopeditors
|
||||||
|
|||||||
Reference in New Issue
Block a user