Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

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?

by

What's the output of :se fileencoding in Vim when you're editing vifmrc? And what's your encoding in the terminal?

by

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?

by

Yes, this seems to be the right place.

1 Answer

0 votes
by
 
Best answer

Answer: make sure utf-8 encoding is set in /etc/locale.conf

...