Adds CopyToPlayers command

This commit is contained in:
Michel Fedde 2025-02-10 21:45:22 +01:00
parent 132f9d0636
commit 6f74d3b3db
8 changed files with 66 additions and 18 deletions

View file

@ -21,4 +21,16 @@ return {
},
},
},
keys = {
{
"<leader>e",
function()
local filesystemState = require("neo-tree.sources.manager").get_state("filesystem")
local fsPath = table.concat(filesystemState.default_expanded_nodes)
require("neo-tree.command").execute({ toggle = true, dir = fsPath })
end,
desc = "Explorer NeoTree (reopen)",
},
},
}