Add Neotreee auto-focus mechanism

This commit is contained in:
Kiril 2024-05-19 11:57:25 +01:00
parent 1c38bdd406
commit b035c6494e

View File

@ -56,5 +56,14 @@ return {
config = function()
--vim.keymap.set("n", "<C-h>", ":Neotree filesystem toggle left<CR>")
vim.keymap.set("n", "<C-h>", toggle, {})
require("neo-tree").setup({
filesystem = {
filtered_items = {
visible = true,
hide_dotfiles = false,
hide_gitignored = true,
},
},
})
end,
}