Files
nvim/config/modules/plugins/neotree.nix

33 lines
724 B
Nix
Raw Normal View History

2025-10-23 19:50:10 +03:00
{
plugins.neo-tree = {
enable = true;
enableDiagnostics = true;
enableGitStatus = true;
enableModifiedMarkers = true;
enableRefreshOnWrite = true;
closeIfLastWindow = true;
popupBorderStyle = "rounded"; # Type: null or one of “NC”, “double”, “none”, “rounded”, “shadow”, “single”, “solid” or raw lua code
buffers = {
bindToCwd = false;
followCurrentFile = {
enabled = true;
};
};
window = {
width = 40;
height = 15;
autoExpandWidth = false;
mappings = {
"<space>" = "none";
};
};
};
keymaps = [
{
action = "<cmd>Neotree toggle<CR>";
key = "<leader>e";
}
];
}