I tried setting up icons in Vifm based on the answer provided in this question
However it seems not to work for me. I have installed Hack Nerd Font and icons are showing in terminal when I edit .vimfrc, but not in Vimfrc itself.
May this require additional configuration or may I have overridden settings somewhere?
What's the output of :se fileencoding in Vim when you're editing vifmrc? And what's your encoding in the terminal?
Thank you for the hint. I got utf-8 in vim, but in the terminal my LANG variable was not set. I set LANG=en_US.UTF-8 in /etc/locale.conf and voila - nerdfont icons show in the terminal and vimfs. Did I do it in the right place?
Yes, this seems to be the right place.
Answer: make sure utf-8 encoding is set in /etc/locale.conf