Sweet ligatures. They make the code more expressive and easier to read. I can’t go back anymore now. There are gorgeous arrows and sassy comparisons all over my lizard brain. I welcome you to the world of open source code fonts with well-made ligatures and finely tuned spacing.
The editor used in the making of the screenshot is the open source editor from Microsoft, Visual Studio Code. If you feel for trying it out in VSCode you should open settings (cmd-,/ctrl-,) and enable “Font Ligatures”. Be sure to select a font family that supports ligatures as well. The font size used in the screenshot is 12pt.
This is the mashup of characters I used to create the screenshots:
Fira Code is a terrific choice when it comes to finding the most delightful code font with ligatures. There is a lot of development on it such as adding new ligatures so be sure to try it out to see if it fit you.
Iosevka comes with over 2000 glyphs and it is built code from code. If you feel for tweaking Iosevka you can adjust its parameters and built it yourself. They have a really aesthetic pleasing website where you can see it live.
Cascadia Code is a fresh code font with programming ligatures created by Microsoft. It is made specially for the new Windows terminal.
You probably have seen some people have delightful cursive text for certain symbols in the editor. I believe most of them are using the paid font Operator Mono but if you don’t want to pay for a font then there are some great free alternatives out there. They usually combine a ligature font (Fira Code etc.) with a cursive font to create the effect.
Most editors support it but some require a plugin for it to work. The editor support section on Fira Code’s Github repo sums it up. If you are not using some obscure editor from the 90’s you should be good to go.
If you want to test them out without installing them on your computer then you can try most of them on Programming Fonts.