added nixvim
This commit is contained in:
parent
0117839c8f
commit
15c18a2a99
5 changed files with 289 additions and 21 deletions
|
@ -5,6 +5,7 @@
|
|||
./git.nix
|
||||
./hyfetch.nix
|
||||
./locales.nix
|
||||
./nixvim.nix
|
||||
#./ssh.nix
|
||||
./user.nix
|
||||
./zsh.nix
|
||||
|
|
45
users/willifan/common/nixvim.nix
Normal file
45
users/willifan/common/nixvim.nix
Normal 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 = " ";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue