Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

i wonder if it's possible to get a dynamic list of commands based on the current file extension/contents. something that would present me with different options for .jpg file (edit in gimp, open in geeqie, delete exif data) and for .pdf (open in okular, xpdf..) for instance.

1 Answer

0 votes
selected by
Best answer

If output of vifm --version contains the following line:

Parsing of .desktop files is enabled

Then :file command should display such list based on what other software is installed in the system. If the line above ends with disabled, you'll only see associations that are set in vifmrc file.


thank you a ton, exactly what i was looking for. j