return { "nvim-neo-tree/neo-tree.nvim", opts = { window = { width = 40, }, filesystem = { window = { mappings = { [""] = function(state) local node = state.tree:get_node() if vim.fn.fnamemodify(node.path, ":e") == "opto" then vim.cmd.Optolith() return end os.execute(string.format('xdg-open "%s" &> /dev/null &', node.path)) end, }, }, }, }, }