Neotree again

This commit is contained in:
Saeed Afzal
2023-12-23 19:37:51 +00:00
parent 6075ff24af
commit e62faa0b94
3 changed files with 29 additions and 7 deletions

16
lua/plugins/neotree.lua Normal file
View File

@@ -0,0 +1,16 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
"3rd/image.nvim"
},
cmd = "Neotree",
opts = {
window = {
position = "current"
}
}
}

View File

@@ -55,6 +55,9 @@ local function config()
-- Find in file
["<C-f>"] = { "<cmd>Telescope current_buffer_fuzzy_find<CR>", "Find in file" },
-- Neotree
["<C-n>"] = { "<cmd>Neotree<CR>", "Neotree" },
-- Misc
K = { "<cmd>lua vim.lsp.buf.hover()<CR>", "Hover" }
})