1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-28 18:34:46 +01:00
Files
dotfiles/.config/nvim/lua/plugins/nvim-tree.lua

36 lines
563 B
Lua

return {
-- fileexplorer on the side
"nvim-tree/nvim-tree.lua",
cmd = "NvimTreeToggle",
dependencies = {
{
"nvim-tree/nvim-web-devicons",
lazy = true,
},
},
keys = {
{
"<F2>",
"<cmd>NvimTreeToggle<CR>",
desc = "File tree: toggle",
},
},
opts = {
sort_by = "case_sensitive",
view = {
width = 30,
},
filters = {
dotfiles = true,
},
renderer = {
group_empty = true,
icons = {
glyphs = {
git = Git_signs,
},
},
},
},
}