ranger is a command line file manager that can be extended with python. The
commands.py file contains examples of the built in commands:
I can see how to delete files via
self.fm.delete() and I have explored the
fm.py file and don't see a function that looks to be exposed that would allow me to copy files in a straightforward way (but I'm not a python dev so maybe I don't understand it):
I just want a function that will copy the
current selection to a
I know I could do this with a key mapping, but I want to do it in python so that I can extend it, but I can't get past this one basic step.