mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 10:16:31 +05:30
feat: setup zed editor
This commit is contained in:
35
modules/hm/desktop/zed.nix
Normal file
35
modules/hm/desktop/zed.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
flake.modules.homeManager.desktop = {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
"lua"
|
||||
"nix"
|
||||
"C#"
|
||||
"solidity"
|
||||
];
|
||||
userKeymaps = [
|
||||
{
|
||||
context = "Workspace";
|
||||
bindings = {
|
||||
F7 = "workspace::NewTerminal";
|
||||
};
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
ui_font_size = 18;
|
||||
buffer_font_size = 18;
|
||||
theme = {
|
||||
mode = "dark";
|
||||
light = "Ayu Light";
|
||||
dark = "Ayu Dark";
|
||||
};
|
||||
vim_mode = true;
|
||||
telemetry = {
|
||||
diagnostics = false;
|
||||
metrics = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user