at the bottom of my configuration I would like to create a catch-all like preview, one for all files that contains readable text and one, below, for all other files, how can I achieve this without manually specify file extensions?
I tried with
fileviewer <text/plain> mycommand
fileviewer * mycommand
but I'm missing something in the logic.