make neovim the default editor

This commit is contained in:
John Bowdre 2024-12-05 08:11:10 -06:00
parent 3e93fe6f19
commit c955e117e8
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo
4 changed files with 9 additions and 5 deletions

View file

@ -25,7 +25,7 @@
stateVersion = lib.mkDefault "23.05";
sessionVariables = {
EDITOR = "vim";
EDITOR = "nvim";
};
};

View file

@ -12,6 +12,7 @@
programs.nixvim = {
enable = true;
defaultEditor = true;
performance = {
combinePlugins = {
@ -24,6 +25,9 @@
byteCompileLua.enable = true;
};
viAlias = true;
vimAlias = true;
luaLoader.enable = true;
};
}

View file

@ -10,6 +10,6 @@
tf = "terraform";
tfyolo = "terraform apply -auto-approve";
top = "btop";
v = "vim";
vi = "vim";
v = "nvim";
}

View file

@ -1,7 +1,7 @@
{ pkgs, lib, ... }: {
programs.vim = {
enable = true;
defaultEditor = true;
# defaultEditor = true;
settings = {
background = "dark";
expandtab = true;