nixvim: set default editor & add alias

This commit is contained in:
Khaïs COLIN 2024-07-27 13:29:25 +02:00
parent 4bcc3d19f6
commit fb30a02e78
3 changed files with 10 additions and 1 deletions

View file

@ -76,6 +76,9 @@ in {
gp = "git push"; gp = "git push";
gd = "git diff"; gd = "git diff";
gds = "git diff --staged"; gds = "git diff --staged";
vim = "nvim";
vi = "nvim";
}; };
}; };
} }

3
nixvim/config/base.nix Normal file
View file

@ -0,0 +1,3 @@
{
defaultEditor = true;
}

View file

@ -1,4 +1,7 @@
{ {
# Import all your configuration modules here # Import all your configuration modules here
imports = [ ./bufferline.nix ]; imports = [
./bufferline.nix
./base.nix
];
} }