diff --git a/home/alt.nix b/home/alt.nix index d12bc56..3c12bd3 100644 --- a/home/alt.nix +++ b/home/alt.nix @@ -67,7 +67,14 @@ }; }; - programs.fish.enable = true; + programs.fish = { + enable = true; + shellInit = '' + set -gx EDITOR "nvim" + set -gx VISUAL "nvim" + ''; + }; + home.shellAliases = { v = "nvim"; };