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

@ -116,7 +116,7 @@
devices = ["bicep" "jwst" "echo"];
};
"/data/textbooks" = {
id = "textbooks";
id = "textbooks";
devices = ["bicep" "jwst" "echo"];
};
};

View file

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

View file

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

View file

@ -5,6 +5,7 @@
userName = "Aria Nolan";
extraConfig = {
init.defaultbranch = "main";
diff.tool = "nvimdiff";
};
aliases = {
co = "checkout";
@ -12,19 +13,6 @@
pom = "push -u origin main";
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 = {