neotree changes

This commit is contained in:
kenobi 2023-12-22 16:43:22 +01:00
parent cf8bf9bbe1
commit 0ad7c21f5a
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
return {
"nvim-neo-tree/neo-tree.nvim",
opts = {
require("neo-tree").setup({
window = {
mappings = {
["P"] = function(state)
local node = state.tree:get_node()
require("neo-tree.ui.renderer").focus_node(state, node:get_parent_id())
end,
},
},
}),
},
}