yadm-config/.config/nvim-notes/lua/plugins/neotree.lua

19 lines
366 B
Lua

return {
"nvim-neo-tree/neo-tree.nvim",
opts = {
window = {
width = 40,
},
filesystem = {
window = {
mappings = {
["<C-l>"] = function(state)
local node = state.tree:get_node()
os.execute(string.format('xdg-open "%s" &> /dev/null &', node.path))
end,
},
},
},
},
}