mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 22:54:01 +05:30
Zed is really cool!!
This commit is contained in:
parent
cb5659541e
commit
8770c61d40
5 changed files with 30 additions and 6 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue