1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

neovim: alias to vi(m) manually

This commit is contained in:
2025-12-27 19:38:50 +01:00
parent b82636ff12
commit bafb872730
2 changed files with 4 additions and 2 deletions

View File

@@ -10,6 +10,8 @@
}); });
in { in {
environment.variables.EDITOR = lib.getExe vim-kmein; environment.variables.EDITOR = lib.getExe vim-kmein;
environment.shellAliases.vi = "nvim";
environment.shellAliases.vim = "nvim";
environment.shellAliases.view = "nvim -R"; environment.shellAliases.view = "nvim -R";
home-manager.users.me = { home-manager.users.me = {

View File

@@ -8,7 +8,7 @@
colorscheme ? null, colorscheme ? null,
lib, lib,
... ...
}: (neovim.override { }: neovim.override {
configure = { configure = {
vimAlias = true; vimAlias = true;
viAlias = true; viAlias = true;
@@ -93,4 +93,4 @@
]; ];
}; };
}; };
}) }