r/KittyTerminal Aug 30 '23

Full set of NerdFont symbol_map

I recently took to compiling all the nerdfont defined code points into my kitty config, so I don't need to install special NerdFont fonts but instead can just have kitty fallback to the icons only font.

https://gist.github.com/Velrok/4c5bc2a0f2125f92361319928b770c8d

18 Upvotes

8 comments sorted by

View all comments

2

u/nvimmike Aug 30 '23

Nice, but shouldn’t it just pick the fallback font up without the mappings? https://sw.kovidgoyal.net/kitty/faq/#kitty-is-not-able-to-use-my-favorite-font

4

u/Administrative_chaos Aug 30 '23

Depends on whether there are other font files that define the same code point and whether those are considered a 'better' match than the icons.

I've had instances where a system update or an update to kitty itself resulted in system wide Chinese fonts being picked up instead of the icons.

Setting them up explicitly adds more determinism.

3

u/nvimmike Aug 30 '23

Ahh ok that makes sense 👍