feat: attempt to use nvim-tree instead
This commit is contained in:
parent
a5883567bb
commit
68ceebb595
3 changed files with 16 additions and 4 deletions
dotfiles/neovim/lua/my/plugins
11
dotfiles/neovim/lua/my/plugins/nvim-tree.lua
Normal file
11
dotfiles/neovim/lua/my/plugins/nvim-tree.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local mapSilent = require("my.keymaps").mapSilent
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
require'nvim-tree'.setup()
|
||||
-- Toggle nerdtree with Control-t
|
||||
mapSilent("n", "<C-t>", ":NvimTreeToggle<CR>")
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue