add nvimtree
This commit is contained in:
parent
33f4ce88ef
commit
87ce55295b
3 changed files with 28 additions and 5 deletions
18
lua/plugin/nvimtree.lua
Normal file
18
lua/plugin/nvimtree.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
version = "*",
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>F", "<cmd>NvimTreeToggle<cr>", desc = "Toggle Filetree" },
|
||||
},
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
view = {
|
||||
width = 42,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue