dotfiles/nvim/lua/plugins/neotree.lua

16 lines
338 B
Lua
Raw Permalink Normal View History

2023-12-22 16:43:22 +01:00
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,
},
},
}),
},
}