ls *.txt | vifm - opens vifm custom view containing the file list. How to make grep -n XX *.txt | vifm - opens vifm menu containing the result? (like :!grep -n XX *.txt %M in vifm)
EDIT: vifm -c'!grep -n XX *.txt %M' works! (but needs quoting, unlike pipe syntax)