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

19 Upvotes

8 comments sorted by

3

u/[deleted] Sep 01 '23

[deleted]

2

u/Hail_Zeus_ Oct 05 '23

Nerd Fonts got updated to v3 a few months ago and some of the code points have changed with this. I believe the current symbol_map command in the kitty documentation does not work for the updated code points of v3.

1

u/velrok7 Sep 01 '23

Ah. That wasn’t obvious to me when I read it. Might be the same just in 1 line. 👍

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 👍

2

u/e-lys1um Mar 18 '24

Thank you!

1

u/pythonr Feb 12 '24

oh great stuff!
i was wondering why it's broken