neotree changes
This commit is contained in:
parent
cf8bf9bbe1
commit
0ad7c21f5a
15
nvim/lua/plugins/neotree.lua
Normal file
15
nvim/lua/plugins/neotree.lua
Normal 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,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user