added nixvim

This commit is contained in:
willifan 2024-09-19 17:12:09 +02:00
parent 0117839c8f
commit 15c18a2a99
5 changed files with 289 additions and 21 deletions

View file

@ -5,6 +5,7 @@
./git.nix
./hyfetch.nix
./locales.nix
./nixvim.nix
#./ssh.nix
./user.nix
./zsh.nix

View file

@ -0,0 +1,45 @@
{ pkgs, ... }:
{
programs.nixvim = {
enable = true;
plugins = {
neo-tree = {
enable = true;
sources = ["filesystem" "buffers" "git_status" "document_symbols"];
addBlankLineAtTop = false;
filesystem = {
bindToCwd = false;
followCurrentFile = {
enabled = true;
};
};
defaultComponentConfigs = {
indent = {
withExpanders = true;
expanderCollapsed = "󰅂";
expanderExpanded = "󰅀";
expanderHighlight = "NeoTreeExpander";
};
gitStatus = {
symbols = {
added = " ";
conflict = "󰩌 ";
deleted = "󱂥";
ignored = " ";
modified = " ";
renamed = "󰑕";
staged = "󰩍";
unstaged = "";
untracked = " ";
};
};
};
};
};
};
}