1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Set default editor to neovim

This commit is contained in:
RGBCube 2023-05-09 23:07:11 +03:00
parent 6155df6199
commit 6b7647981f
2 changed files with 6 additions and 1 deletions

View file

@ -11,7 +11,8 @@
(homeManagerConfigurationWithArgs "nixos" ({ config, ... }: {
programs.neovim.enable = true;
programs.neovim = {
defaultEditor = true;
# Does not work with Nushell for some reason, I just set it manually.
# defaultEditor = true;
viAlias = true;
vimAlias = true;

View file

@ -12,6 +12,10 @@ homeManagerConfiguration "nixos" {
configFile.source = ./config.nu;
envFile.source = ./env.nu;
environmentVariables = {
EDITOR = "nvim";
};
shellAliases = {
g = "git";
ga = "git add ./";