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.

Patched fonts icons are not displayed correctly using classify

0 votes
asked Jun 15 in vifm by achere

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?

commented Jun 15 by xaizek

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

commented Jul 10 by achere

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?

commented Jul 10 by xaizek

Yes, this seems to be the right place.

1 Answer

0 votes
answered Jul 11 by achere
 
Best answer

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

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...