radish: add zed

This commit is contained in:
Joakim Repomaa
2025-03-01 13:20:40 +02:00
parent 5c4e161076
commit a93d4afbcf
3 changed files with 174 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
../custom-programs
./neovim
./dnote.nix
../modules/zed
inputs.hastebin.nixosModules.hm
];
@@ -110,7 +111,7 @@
enable = true;
font = {
name = "IosevkaTerm NFM";
size = 12;
size = 14;
};
shellIntegration.enableZshIntegration = true;
themeFile = "Tomorrow_Night";
@@ -207,9 +208,10 @@
};
os = {
edit = "$EDITOR {{filename}}";
editAtLine = "$EDITOR +{{line}} {{filename}}";
editAtLineAndWait = "$EDITOR --remote-wait +{{line}} {{filename}}";
editAtLine = "$EDITOR {{filename}}:{{line}}";
editAtLineAndWait = "$EDITOR --wait {{filename}}:{{line}}";
};
promptToReturnFromSubprocess = false;
customCommands = [
{
key = "<c-p>";
@@ -299,6 +301,10 @@
clipboard_command = "${pkgs.wl-copy-both}/bin/wl-copy";
};
};
zed-editor = {
enable = true;
defaultEditor = true;
};
};
gnome = {