Ligature Fonts for Terminal, VS Code, Neovim and Emacs

alpha2phi
3 min readDec 25, 2020

Overview

Ligature Font

Ligatures are special characters in a font that combine two or more characters into one. In this article, I am going to show you how to configure ligature fonts for terminal emulators (Alacritty, iTerm2, and kitty) and code editors (VS Code, Neovim, and Emacs).

Ligature Fonts

There are many ligature fonts freely available but in this article, I will only show you the fonts listed below interchangeably between various terminals emulators and code editors.

Ligature Font in Terminal Emulator

Alacritty

The current version of Alacritty does not support ligature. There is a fork available here that I use.

Clone and build alacritty from the repository.

# git clone https://github.com/zenixls2/alacritty.git
# cd alacritty
# git checkout ligature
# cargo build --release

Configure .alacritty.yml to use Fira Code.

font:
normal:
family: Fira Code
style: Regular
bold:
family: Fira Code
style…

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.