some neovim things

This commit is contained in:
Aria Nolan 2024-02-22 21:16:38 -05:00
parent 95fad15496
commit f28e02e5c9
4 changed files with 18 additions and 20 deletions

View file

@ -15,7 +15,7 @@
homeDirectory = "/home/tacocat"; homeDirectory = "/home/tacocat";
stateVersion = "24.05"; stateVersion = "24.05";
sessionVariables = { sessionVariables = {
EDITOR = "hx"; EDITOR = "nvim";
BAT_THEME = "ansi"; BAT_THEME = "ansi";
DOTNET_ROOT = "$HOME/.dotnet"; DOTNET_ROOT = "$HOME/.dotnet";
}; };

View file

@ -1,10 +1,14 @@
{pkgs, lib, ...}: { {
pkgs,
lib,
...
}: {
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
colorschemes.base16 = { colorschemes.nord = {
enable = true; enable = true;
colorscheme = "blueish"; borders = true;
setUpBar = false; contrast = true;
}; };
clipboard = { clipboard = {
providers.wl-copy.enable = true; providers.wl-copy.enable = true;
@ -18,6 +22,7 @@
expandtab = false; expandtab = false;
scrolloff = 5; scrolloff = 5;
autoindent = true; autoindent = true;
smartindent = true;
copyindent = true; copyindent = true;
signcolumn = "yes"; signcolumn = "yes";
cursorline = true; cursorline = true;
@ -26,7 +31,7 @@
plugins = { plugins = {
lightline = { lightline = {
enable = true; enable = true;
colorscheme = lib.mkForce "solarized"; colorscheme = "nord";
}; };
gitsigns = { gitsigns = {
enable = true; enable = true;
@ -36,5 +41,10 @@
nixvimInjections = true; nixvimInjections = true;
}; };
}; };
# filetype.extension = {
# ".md" = ''
# vim.bo.spell = true
# '';
# };
}; };
} }

View file

@ -5,6 +5,7 @@
userName = "Aria Nolan"; userName = "Aria Nolan";
extraConfig = { extraConfig = {
init.defaultbranch = "main"; init.defaultbranch = "main";
diff.tool = "nvimdiff";
}; };
aliases = { aliases = {
co = "checkout"; co = "checkout";
@ -12,19 +13,6 @@
pom = "push -u origin main"; pom = "push -u origin main";
cm = "commit -m"; cm = "commit -m";
}; };
delta = {
enable = true;
options = {
decorations = {
commit-decoration-style = "bold yellow box ul";
file-decoration-style = "none";
file-style = "bold yellow ul";
};
features = "decorations";
whitespace-error-style = "22 reverse";
syntax-theme = "ansi";
};
};
}; };
programs.gitui = { programs.gitui = {