nvimdotfiles/after/plugin/nvim-tree.lua

15 lines
388 B
Lua

local tree = require("nvim-tree")
tree.setup()
-- 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
vim.keymap.set("n", "<leader>fj", vim.cmd.NvimTreeFindFile)
vim.keymap.set("n", "<leader>ft", vim.cmd.NvimTreeFindFileToggle)
-- empty setup using defaults