Preview Pictures, PDFs and Videos in vifm

It takes a while for me to figure out how you can preview pictures and pdfs in vifm on Kitty terminal. I tried many different utilities, such as w3m and überzug, but the displayed pictures are not satisfying or it is really a pain to deploy the environments on my MacBook.

I recently find that Kitty can support image display in the terminal via icat function. To make it work, you first need…