we don't need a tree when we got oil + telescope

This commit is contained in:
♥ Minnie ♥ 2025-09-29 11:01:56 +08:00
parent 939e8a45f5
commit 620bad6011
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 0 additions and 67 deletions

View file

@ -1,47 +0,0 @@
{...}: {
plugins.nvim-tree = {
enable = true;
# Configure nvim-tree
settings = {
# Set width of nvim-tree
view = {
width = 38;
};
# Hide dotfiles
filters = {
dotfiles = true;
};
# fix: nvim-tree / auto-session
sync_root_with_cwd = true;
actions = {
change_dir = {
global = true;
};
};
# https://github.com/zwhitchcox/auto-session-nvim-tree
};
};
keymaps = [
{
mode = ["n"];
key = "<leader>n";
action = "<cmd>NvimTreeToggle<cr>";
options = {
desc = "Toggle file explorer";
};
}
{
mode = ["n"];
key = "<leader>e";
action = "<cmd>NvimTreeFocus<cr>";
options = {
desc = "Focus file explorer";
};
}
];
}