my_nvim_config/after/plugin/neotree.lua

26 lines
540 B
Lua
Raw Normal View History

2024-02-04 20:53:56 -05:00
require('neo-tree').setup({
sources = {
"filesystem",
"buffers",
},
filesystem = {
filtered_items = {
visible = true,
hide_gitignored = false,
hide_hidden = false,
hide_dotfiles = false,
},
follow_current_file =
{
enabled = true,
},
window = {
mappings = {
['<leftrelease>'] = 'open'
}
}
},
})
vim.keymap.set('n', '<leader>b', ':Neotree toggle<CR>')