local status, nvimtree = pcall(require, "nvim-tree") if not status then return end -- recommended settings by nvim-tree documentation vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 nvimtree.setup({ --integration with project.nvim sync_root_with_cwd = true, respect_buf_cwd = true, update_focused_file = { enable = true, update_root = true, }, view = { mappings = { list = { { key = "l", action = "expand" }, { key = "h", action = "collapse" }, }, }, }, })