jesseduffield / jesseduffield/lazygit

[FR] Allow to use a specific font family for icons

Open
#2,236 4 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

I'm using `JetBrains Mono` as my terminal font and also have `Nerd Font Symbols` on my system. This is [the recommended way according to Kitty terminal maintainer](https://sw.kovidgoyal.net/kitty/faq/#kitty-is-not-able-to-use-my-favorite-font), and we can use a specific font family for symbols in kitty config file.

Since we cannot do the same with LazyGit, the icons aren't picked from `Nerd Font Symbols` and are most likely coming from my terminal font:

![image](https://user-images.githubusercontent.com/78810647/197836518-3e65b193-5963-4596-96f6-7c60a911be50.png)
![image](https://user-images.githubusercontent.com/78810647/197836527-5da58fff-9442-442d-a6cf-0659c0d27b7e.png)

It would be nice if we could explicitly set a specific font family for the icons in LazyGit config file so that they're rendered properly in this case. I know I could just use a patched nerd font which includes symbols but I don't want to.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.