port to new nvim tree

This commit is contained in:
Cyryl Płotnicki 2023-06-21 08:54:06 +01:00
parent 4c6f740e8b
commit c8e0d770a8

View file

@ -29,14 +29,26 @@ let g:ack_use_cword_for_empty_search = 1
lua << EOF
require'nvim-tree'.setup{
disable_netrw = false,
hijack_cursor=true,
ignore_buffer_on_setup=true,
open_on_setup=true,
open_on_tab=true,
update_focused_file = { enable = true },
}
-- disable netrw at the very start of your init.lua
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true
-- OR setup with some options
require("nvim-tree").setup({
sort_by = "case_sensitive",
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
})
EOF