Neotree again
This commit is contained in:
16
lua/plugins/neotree.lua
Normal file
16
lua/plugins/neotree.lua
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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" }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user