I am facing a problem on my newly installed arch linux machine with GNOME - vim is unable to render powerline glyphs on the gnome-terminal. I have installed the patched fonts and changed the gnome-terminal preferences to use the powerline font. Also, I have installed powerline and powerline-fonts using pacman. I use vim-airline plugin with the setting "let g:airline_powerline_fonts = 1". I tried different powerline fonts and none of them resolved the problem. pango-list command displays me all the powerline fonts too. I have tried a lot of different variations to fix this problem but, I haven't been able to get anything to work. Any help would be highly appreciated.
It was a trivial issue with fonts. I had to install a relevant Nerd Font.
Your terminal isn't showing few characters in the above screenshot Either fonts with those characters aren't installed or Encoding of terminal isn't set to UTF-8 You've installed glyphs, in that case, only option left is adding the following line in .vimrcset encoding=utf-8
You also need to confirm that terminal is configured to display UTF-8 encoding
Check the compatibility tab in gnome-terminal preferences
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.