marta-file-manager / marta-issues

An issue tracker for Marta File Manager.
https://marta.yanex.org/
329 stars 0 forks source link

Action panel: add custom actions to the list #963

Open eugenesvk opened 1 year ago

eugenesvk commented 1 year ago

upd: plugin commands are automatically added to the Action panel, which is nice, though I still need to figure out how to run builtin actions with custom parameters within the plugins, then I could add a command that invokes this action with my settings, couldn't figure out yet how to invoke builtin actions with this API call https://marta.sh/api/marta/windowcontext.type/runaction/ with custom parameters

The docs don't work, so maybe it's there in Action panel, but how do you add custom actions not only to a list of shortcuts, but also to the searchable list in the action panel?

For example, I've made a {id "core.select.group" pattern ".txt"} command to highlight all text files. It would be nice if I could name it and add to the panel to make it easier to find