diff options
-rw-r--r-- | user/settings/emacs.nix | 3 | ||||
-rw-r--r-- | user/settings/neovim.nix | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 372af9cd..59035f81 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -171,9 +171,6 @@ in home.packages = [ editorScript ]; - home.sessionVariables = { - EDITOR = "${editorScript}/bin/edit"; - }; xdg.configFile."emacs/early-init.el" = { source = ../emacs/early-init.el; onChange = '' diff --git a/user/settings/neovim.nix b/user/settings/neovim.nix index 87398783..22ef8610 100644 --- a/user/settings/neovim.nix +++ b/user/settings/neovim.nix @@ -5,6 +5,7 @@ }: { programs.neovim = { enable = true; + defaultEditor = true; vimAlias = true; vimdiffAlias = true; withNodeJs = true; |