From 1dfdd325c8c9c42b3690b811211cf555f54cc0bb Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Tue, 3 Jan 2023 00:08:58 +0000 Subject: [PATCH] Set default editor to nvim --- modules/editors/neovim/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/editors/neovim/default.nix b/modules/editors/neovim/default.nix index 98f2a2f..94d659f 100644 --- a/modules/editors/neovim/default.nix +++ b/modules/editors/neovim/default.nix @@ -18,6 +18,8 @@ in { "nvim/lua" = { source = ./lua; recursive = true; }; }; + env.EDITOR = "nvim"; + environment.shellAliases = { vim = "nvim"; v = "nvim";