Add Neotreee auto-focus mechanism
This commit is contained in:
parent
1c38bdd406
commit
b035c6494e
@ -56,5 +56,14 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
--vim.keymap.set("n", "<C-h>", ":Neotree filesystem toggle left<CR>")
|
--vim.keymap.set("n", "<C-h>", ":Neotree filesystem toggle left<CR>")
|
||||||
vim.keymap.set("n", "<C-h>", toggle, {})
|
vim.keymap.set("n", "<C-h>", toggle, {})
|
||||||
|
require("neo-tree").setup({
|
||||||
|
filesystem = {
|
||||||
|
filtered_items = {
|
||||||
|
visible = true,
|
||||||
|
hide_dotfiles = false,
|
||||||
|
hide_gitignored = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user