-- Install a file explorer -- https://github.com/nvim-tree/nvim-tree.lua -- nvim-tree as replacement for neo-tree return { "nvim-tree/nvim-tree.lua", version = "*", lazy = false, dependencies = { "nvim-tree/nvim-web-devicons", }, config = function() -- disable netrw at the very start of your init.lua vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 require("nvim-tree").setup({}) -- e to toggle the explorer buffer vim.keymap.set( "n", "e", "NvimTreeFindFileToggle", { desc = "[nvim-tree] Toggle the file explorer" } ) end, }