nixvim: set default editor & add alias
This commit is contained in:
parent
4bcc3d19f6
commit
fb30a02e78
3 changed files with 10 additions and 1 deletions
3
home.nix
3
home.nix
|
|
@ -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
3
nixvim/config/base.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
defaultEditor = true;
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
# Import all your configuration modules here
|
# Import all your configuration modules here
|
||||||
imports = [ ./bufferline.nix ];
|
imports = [
|
||||||
|
./bufferline.nix
|
||||||
|
./base.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue