nvimtree
layer
#
The nvimtree
layer provides your editor with a new file explorer, namely
nvim-tree.lua.
Bindings #
Described here.
Configuration #
Any valid configuration for require('nvim-tree').setup
as documented
here, plus one optional
field:
icons
(defaults tofalse
) whether to enable file/directory icons. Requires theicons
layer.
Examples #
-- path/of/your/vim/config/init.lua
require("visimp")({
icons = {}, -- required when nvimtree.icons is true
nvimtree = {
-- visimp setting
icons = true,
-- nvim-tree settings
sort = {
sorter = "case_sensitive",
},
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
},
})
Documentation #
The official documentation for the underlying plugin is available here.