mirror of https://github.com/sgoudham/dotfiles.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
675 B
Lua
31 lines
675 B
Lua
return {
|
|
{
|
|
"nvim-tree/nvim-tree.lua",
|
|
dependencies = "nvim-tree/nvim-web-devicons",
|
|
config = function()
|
|
require("nvim-tree").setup({
|
|
hijack_cursor = true,
|
|
hijack_netrw = false,
|
|
sync_root_with_cwd = true,
|
|
respect_buf_cwd = true,
|
|
update_focused_file = {
|
|
enable = true,
|
|
update_root = false,
|
|
},
|
|
view = {
|
|
centralize_selection = true,
|
|
width = {
|
|
max = 60
|
|
}
|
|
},
|
|
renderer = {
|
|
group_empty = true,
|
|
},
|
|
})
|
|
end,
|
|
keys = {
|
|
{ "<leader>e", "<cmd>NvimTreeToggle<cr>", "Open Explorer" },
|
|
},
|
|
},
|
|
}
|