diff options
author | Alan Pearce | 2023-04-18 06:55:13 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-18 06:55:13 +0200 |
commit | 78e41e44e8363fdb60b983c3d668e1558613b791 (patch) | |
tree | 7371d370a9ee3cba039af957c250d9cd4c4e2835 /user/settings | |
parent | 70d6a686739c902880c3a45f6979ad469a3b75f5 (diff) | |
download | nixfiles-78e41e44e8363fdb60b983c3d668e1558613b791.tar.lz nixfiles-78e41e44e8363fdb60b983c3d668e1558613b791.tar.zst nixfiles-78e41e44e8363fdb60b983c3d668e1558613b791.zip |
use neovim as $EDITOR
Diffstat (limited to 'user/settings')
-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; |