mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 11:41:59 -05:00
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{
|
|
plugins.neo-tree = {
|
|
enable = true;
|
|
closeIfLastWindow = true;
|
|
sources = [
|
|
"filesystem"
|
|
"buffers"
|
|
"git_status"
|
|
"document_symbols"
|
|
];
|
|
popupBorderStyle = "rounded"; # “NC”, “double”, “none”, “rounded”, “shadow”, “single”, “solid” or raw lua code
|
|
|
|
filesystem = {
|
|
bindToCwd = false;
|
|
useLibuvFileWatcher = true;
|
|
followCurrentFile.enabled = true;
|
|
};
|
|
|
|
defaultComponentConfigs = {
|
|
gitStatus = {
|
|
symbols = {
|
|
added = " ";
|
|
conflict = " ";
|
|
deleted = " ";
|
|
ignored = " ";
|
|
modified = " ";
|
|
renamed = " ";
|
|
staged = "✓ ";
|
|
unstaged = " ";
|
|
untracked = " ";
|
|
};
|
|
};
|
|
};
|
|
|
|
window.mappings = {
|
|
"<space>" = "none";
|
|
};
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
mode = "n";
|
|
key = "<leader>e";
|
|
action = "<cmd>Neotree toggle<cr>";
|
|
options = {
|
|
silent = true;
|
|
desc = "Explorer NeoTree (root dir)";
|
|
};
|
|
}
|
|
];
|
|
}
|