13 lines
381 B
Lua
13 lines
381 B
Lua
|
-- See: https://github.com/kyazdani42/nvim-tree.lua/blob/master/doc/nvim-tree-lua.txt
|
||
|
|
||
|
-- disable netrw at the very start of your init.lua (strongly advised)
|
||
|
vim.g.loaded = 1
|
||
|
vim.g.loaded_netrwPlugin = 1
|
||
|
|
||
|
-- empty setup using defaults
|
||
|
require("nvim-tree").setup()
|
||
|
|
||
|
vim.keymap.set("n", "<leader>nt", ":NvimTreeFocus<CR>")
|
||
|
vim.keymap.set("n", "<leader>nf", ":NvimTreeFindFile<CR>")
|
||
|
|