Skip to content
Fira Code Nerd Font

Fira Code Nerd Font

The font that popularised programming ligatures, and still the most configurable of them.

Homebrew cask Direct download

What it does

Fira Code is Mozilla’s Fira Mono with a large ligature set added: arrows, comparison operators, arithmetic, comment markers and the multi-character sequences that read badly as separate glyphs (=>, <=, !==, |>, ::).

Where it goes further than most is control. Nearly every opinionated glyph has an alternate behind an OpenType tag, so the font can be tuned rather than accepted or rejected wholesale.

Ligatures and OpenType features

FeatureEffect
caltEvery ligature. On by default; 'calt' 0 removes all of them
ss01–ss10Stylistic sets. ss01 sans-serif r, ss02 <=/>= with a horizontal bar, ss03 traditional ampersand
cv01–cv32Character variants. cv01 single-storey a
zeroSlashed zero
onumOldstyle (lowercase) numerals

Several tags at once, in the form VS Code’s own documentation uses:

"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"

The syntax for switching any of these on or off, per editor and per terminal, is on the Fonts page.

Notes

  • Individual ligatures have no tag of their own. Reach for the ssXX and cvXX toggles that affect the glyphs involved, or turn calt off entirely.
  • The upstream project also publishes a no-ligature build for editors that cannot express any of this.

Alternative to

AlternativeTypeTrade-off
JetBrains MonoOpen sourceA taller x-height and a plainer design; the other default people land on
Cascadia CodeOpen sourceMicrosoft’s, a similar ligature set plus a cursive italic
IosevkaOpen sourceNarrower, and configurable at the source level rather than by feature tags
Victor MonoOpen sourceLigatures with an italic that goes fully cursive
MonaspaceOpen sourceGitHub’s superfamily, with ligature-like texture healing instead

Install

brew install --cask font-fira-code-nerd-font

Links

This post is licensed under CC BY 4.0 by the author.
Last updated on