
0 votes
in vifm by
edited by

Is it possible to mark files in Sxiv and get them selected in Vifm?

I have tried this:

fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.svg
         \ sxiv -rot -q * | :normal t  &,

It does not work.

Any ideas?

1 Answer

0 votes

You need to use :select command for that:

select! !sxiv -oqt *

This will select only visible files, you might want to use %u macro with recursion:

!sxiv -roqt * %u