mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Set default editor to neovim
This commit is contained in:
parent
6155df6199
commit
6b7647981f
2 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,8 @@
|
||||||
(homeManagerConfigurationWithArgs "nixos" ({ config, ... }: {
|
(homeManagerConfigurationWithArgs "nixos" ({ config, ... }: {
|
||||||
programs.neovim.enable = true;
|
programs.neovim.enable = true;
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
defaultEditor = true;
|
# Does not work with Nushell for some reason, I just set it manually.
|
||||||
|
# defaultEditor = true;
|
||||||
|
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
|
@ -12,6 +12,10 @@ homeManagerConfiguration "nixos" {
|
||||||
configFile.source = ./config.nu;
|
configFile.source = ./config.nu;
|
||||||
envFile.source = ./env.nu;
|
envFile.source = ./env.nu;
|
||||||
|
|
||||||
|
environmentVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
g = "git";
|
g = "git";
|
||||||
ga = "git add ./";
|
ga = "git add ./";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue