astro-nvim/lua/plugins/neotree.lua
2024-11-02 14:23:07 -07:00

20 lines
389 B
Lua

-- Customize Neotree
---@type LazySpec
return {
"nvim-neo-tree/neo-tree.nvim",
opts = {
filesystem = {
filtered_items = {
visible = true,
hide_dotfiles = false,
hide_gitignored = true,
},
},
window = {
mappings = {
["P"] = { "toggle_preview", config = { use_float = true, use_image_nvim = true } },
},
},
},
}