defx-icons icon indicating copy to clipboard operation
defx-icons copied to clipboard

Invalid icon displayed in defx

Open showalski opened this issue 5 years ago • 6 comments

When I open defx windown, the file icons were replaced to question mark. The terminal I use is iterm.

Screen Shot 2019-05-07 at 19 01 49

Besides, when display readme.md file in this link. It's unable to display(Check below pic). Not sure whether this is an OS level issue or other issue. Can some help on this issue? Thanks in advance.

Screen Shot 2019-05-07 at 19 04 59

showalski avatar May 07 '19 11:05 showalski

What font are you using? Try for example https://github.com/be5invis/Iosevka and see if it happens.

kristijanhusak avatar May 07 '19 12:05 kristijanhusak

Installed and tried all types of Iosevka, still didn't work. Screen Shot 2019-05-07 at 20 31 40

showalski avatar May 07 '19 12:05 showalski

@showalski if i remember well, you can define separate font for ascii . Did you do that?

kristijanhusak avatar May 07 '19 12:05 kristijanhusak

I have just solved this problem on my iTerm2 by installing https://github.com/ryanoasis/nerd-fonts. Just pick the corresponding nerd-font of your current font or whatever else. E.g., I was using Fira Mono for Powerline, and the icons weren't displayed correctly. I switched to the Fira Mono Nerd Font Mono and then the icons are displayed.

TonyWu20 avatar May 22 '19 17:05 TonyWu20

You can install Nerd Fonts with Homebrew Cask:

brew cask
brew search nerd-font
brew cask install font-iosevka-nerd-font

rafi avatar Jul 27 '20 08:07 rafi

Does not work in the spacevim

weiaiweb avatar May 25 '22 03:05 weiaiweb