Giter VIP home page Giter VIP logo

Comments (4)

chxuan avatar chxuan commented on May 15, 2024

@HGtz2222 如果你想在xshell上面看到图标,就在windows上安装这个字体,链接里面找到windows对应的字体,安装好后,xshell设置成这个字体就可以了,如果你的是桌面版的系统,vimplus已经帮你安装了这个字体,你只需要在linux终端设置这个字体就可以了。

from vimplus.

HGtz2222 avatar HGtz2222 commented on May 15, 2024

目前字体已经安装成功, 但是图标仍然不能正确显示.

from vimplus.

HGtz2222 avatar HGtz2222 commented on May 15, 2024

问题解决了.
vim-devicons需要Nerd Font. 但是xshell只支持等宽字体, 因此Nerd Font中相当一部分字体安装后, xshell不能正确识别(例如FAQ中提到的DejaVuSansMono, 并不能被xshell识别).
目前粗略尝试了下, 以下几个Nerd Font字体是可以能够被xshell识别的.

https://github.com/artofrawr/powerline-fonts/tree/master/fonts/SFMono
https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.otf
https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/3270/Medium/complete/3270-Medium%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.otf
https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/AurulentSansMono/complete/AurulentSansMono-Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.otf

没有尝试更多的字体. 理论上来讲, 需要这个字体首先是 Nerd Font, 其次需要是等宽字体. 这样就能够在xshell正确显示图标.

from vimplus.

chxuan avatar chxuan commented on May 15, 2024

@HGtz2222 恩恩,但是我安装DejaVuSansMono就可以呢

from vimplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.