neo-tree: style

This commit is contained in:
kalmenn 2023-12-20 12:01:08 +01:00
parent 2837f0ff05
commit b0965ec1a3
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -10,19 +10,34 @@ return {
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
},
lazy = false,
config = function()
require('neo-tree').setup({
opts = {
filesystem = {
filtered_items = {
visible = true,
hide_dotfiles = false,
hide_gitignored = false,
hide_hidden = false,
},
follow_current_file = {
enabled = true,
},
group_empty_dirs = true,
use_libuv_file_watcher = true,
},
buffers = {
follow_current_file = {
enabled = true,
},
group_empty_dirs = true,
},
window = {
position = "right",
width = 30,
},
})
end,
source_selector = {
winbar = true,
}
},
keys = {
{ "<C-N>t", "<cmd>Neotree toggle<cr>", "Toggle Neotree" },
{ "<C-N>f", "<cmd>Neotree filesystem focus<cr>", "Focus filesystem in Neotree" },