filemanager-plugin
filemanager-plugin copied to clipboard
[Question] Bindings.json works with "tree" but not with "filemanager.toggle_tree"
The ReadMe says I should be using the API function names like "filemanager.toggle_tree", but my bindings.json only works if I use the same command as what I would put in Ctrl + E (like "tree"). Is this expected and I'm somehow using it incorrectly or did Micro change how bindings.json works or is the ReadMe just incorrect? Thanks!
bindings.json
{
...
"Ctrl-p": "command:tree", # works!
# "Ctrl-p": "command:filemanager.toggle_tree", gives "Unknown command filemanager.toggle_tree"
...
}
Thank you about "command:tree"
.
This make me think the following which works:
"Ctrl-p": "lua:filemanager.toggle_tree"