push33n
push33n

Reputation: 477

firacode ligatures not working in iterm 2

I'm trying to use the firacode font in iTerm 2 on MacOS Catalina. I have "use ligatures" enabled, but only some of the ligatures actually work. In particular, the arrows configure correctly but greek letters and "www" do not. I have also tried the furacode font but to no avail. What can I try to fix this? If it is relevant, I am using vim as a text editor. Thank you.

Upvotes: 4

Views: 6878

Answers (2)

Satvik Saha
Satvik Saha

Reputation: 136

In iTerm2 Preferences > Advanced > Drawing (or just search for 'ligature'), change the Improves drawing performance at the expense of disallowing alphanumeric characters to belong to ligatures setting to No. This allows the "www" and "0xFF" ligatures to display correctly with Fira Code.

Upvotes: 12

Luis Gneiting
Luis Gneiting

Reputation: 61

Open iTerm2, go to Preferences > Profiles > Text > Select the "Fira code" font, mark "Use ligatures". Do the same to "Non-ASCII Font". Here you can see how to do https://ritesh-yadav.github.io/assets/images/setup-iterm-with-oh-my-zsh/select_font.gif

Upvotes: 6

Related Questions