feat(nixvim): add nvimtree and keybind

This commit is contained in:
Mohammad Rafiq 2025-03-07 14:11:12 +08:00
parent a141198878
commit 474d30652a
3 changed files with 36 additions and 7 deletions

View file

@ -0,0 +1,27 @@
{
programs.nixvim = {
keymaps = [
{
mode = "n";
key = "t";
action = ":NvimTreeToggle<CR>";
}
];
plugins = {
web-devicons.enable = true;
nvim-tree = {
enable = true;
autoClose = true;
disableNetrw = true;
hijackNetrw = true;
hijackCursor = true;
view = {
cursorline = true;
side = "right";
width = "25%";
};
};
};
};
}