Spacevim: 设置了for power line字体,还是出现了问号乱码

Created on 9 Aug 2017  ·  7Comments  ·  Source: SpaceVim/SpaceVim

Expected behavior, english is recommended

设置了for power line字体,大部分乱码都解决了,但左上角还是出现了问号乱码,其次觉得箭头有些偏小,不知道上啥原因,麻烦帮忙分析一下,谢谢

Environment Information

  • OS: MacOS 10.12.6
  • vim version: VIM - Vi IMproved 8.0
  • neovim version: None

The reproduce ways from Vim starting (Required!)

Homebrew

Output of the ':SPDebugInfo!'

please post log below, if you want me to reproduce your issue quickly, including your custom config here will be better.

Screenshots

If you have any screenshots for this issue, please upload here. BTW you can use https://asciinema.org/ for recording video in terminal.
4d4b4760-baa3-476c-a26c-b661c3a5488c

Most helpful comment

I met same problems. Thanks to @icearith @milkdeliver
Below is the way to solve it

  1. install nerd font with homebrew:
brew tap caskroom/fonts
brew cask install font-hack-nerd-font
  1. Change font setting in your terminal preference (e.g. iTerm2):
    choose Hack Nerd Font
    Imgur

  2. Restart vim

All 7 comments

  1. The question mark on the top left corner is an ICON for file. Check Nerd font. You could download a patched font or patch a your own file, it's up to you.

  2. Alignment: this issue is often related to ASCII font and NON-ASCII font setting. Some of the font shows a pretty good performance. A pic is as follows:

screen shot 2017-08-09 at 4 20 55 pm

Font configuration is also provided:

screen shot 2017-08-09 at 4 21 34 pm

@icearith thank you , your tips is very effective

Homebrew Fonts on macOS (OS X)

brew tap caskroom/fonts
brew cask install font-hack-nerd-font

I met same problems. Thanks to @icearith @milkdeliver
Below is the way to solve it

  1. install nerd font with homebrew:
brew tap caskroom/fonts
brew cask install font-hack-nerd-font
  1. Change font setting in your terminal preference (e.g. iTerm2):
    choose Hack Nerd Font
    Imgur

  2. Restart vim

a nice guide for set fonts.

4d4b4760-baa3-476c-a26c-b661c3a5488c

好看呐,这是啥主题?

thanks

Was this page helpful?
0 / 5 - 0 ratings