Zed is really cool!!

This commit is contained in:
Emmet 2025-10-25 14:46:42 -05:00
parent cb5659541e
commit 8770c61d40
5 changed files with 30 additions and 6 deletions

View file

@ -28,8 +28,9 @@ in {
(lib.mkIf (editor == "emacs") "emacsclient -c -n -a 'emacs'")
(lib.mkIf (editor == "neovide") "neovide -- --listen /tmp/nvimsocket")
(lib.mkIf (editor == "vscodium") "codium -n")
(lib.mkIf (editor == "zed") "zeditor")
(lib.mkIf (builtins.elem editor [ "vim" "nvim" "nano" "micro" ]) ("exec " + term + " -e " + editor))
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium"])) editor)
(lib.mkIf (!(builtins.elem editor [ "emacs" "vim" "nvim" "neovide" "nano" "micro" "vscodium" "zed"])) editor)
];
home.sessionVariables = {
EDITOR =