Move nvim aliases to zsh config

This commit is contained in:
2024-12-24 12:03:31 +01:00
parent 2664c8fe5d
commit 21137550b2
2 changed files with 9 additions and 12 deletions
-12
View File
@@ -16,16 +16,4 @@
];
};
xdg.configFile."nvim".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/projects/flake/modules/cli/nvim";
programs.zsh.shellAliases = {
n = "nvim";
vim = "nvim";
vi = "nvim";
v = "nvim";
};
home.sessionVariables = rec {
EDITOR = "nvim";
VISUAL = EDITOR;
};
}
+9
View File
@@ -205,6 +205,10 @@
# viu doesn't work with tmux, icat does. using that while waiting
viu = "kitty +kitten icat";
icat = "kitty +kitten icat";
n = "$EDITOR";
vim = "$EDITOR";
vi = "$EDITOR";
v = "$EDITOR";
};
shellGlobalAliases = {
"..." = "../..";
@@ -290,4 +294,9 @@
WORDCHARS = "_-*";
};
};
home.sessionVariables = rec {
EDITOR = "nvim";
VISUAL = EDITOR;
};
}