I have this is vifmrc:
filextype <text/plain> sensible-editor %f
This makes Enter default to open any plain text file in my sensible-editor.
Now, suppose the plain text file is a Python program. In that case, I would like :file to list python3 %f as an alternative so that I can easily execute it. I tried adding
filextype *.py python3 %f
That works, but python3 takes the place of sensible-editor as the default action, and that is irrespective of the statement being before or after the <text/plain> statement.
Is there any way to make the alternative command the 2nd option? Thank you!