ttf-font-awesome in Arch Linux; if I open up a file which contains icons from Font awesome it recognizes the file as utf-8 but the icons are displayed as squares. Does anyone know how to fix this?
First off, Vim can only display a file in a single font, you can't use multiple fonts at the same time.
For gVim, you can use
guifont to set this to Font Awesome:
set guifont=Font\ Awesome\ 14
Which seems to work fine.
For Terminal Vim, you will need to configure your terminal emulator to use Font Awesome.
For xterm, this doesn't seem to work, for gnome-terminal, it does... Other terminal emulators may or may not work...
Console Vim is using the font from the console terminal.
You can use Inconsolata Nerd Font, which includes FontAwesome glyphs.
For example, in urxvt including the following:
URxvt.font: xft:SF Mono:size=12,xft:Inconsolata Nerd Font Mono:size=11 URxvt.letterSpace: -1
More on Font Awesome's github from this closed issue.