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 am trying to use ':select !{external command}' . If I run :select !{fd --type f} it selects all files and folders. What is the correct way of using it?

Thank you

1 Answer

+1 vote
selected by
Best answer

Don't add { and }, they are just to name part of the string to reference in the description.


Thank you, yes that solved it.

Can this approach be used for :delete? It doesn't seem to be in the manual, but I was wondering if I can work around it?

:delete !fd --type d<cr>

You can do :select! !fd --type d and then :delete.