Skip to content

Instantly share code, notes, and snippets.

@ahgood
Last active October 29, 2019 13:41
Show Gist options
  • Save ahgood/fd71a184be854ca23835a1b8aff60f26 to your computer and use it in GitHub Desktop.
Save ahgood/fd71a184be854ca23835a1b8aff60f26 to your computer and use it in GitHub Desktop.
[Mac] Enable ligature in Sublime Text and VS Code
# 0. Install brew if you don't have it.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 1. Install font fira code
brew tap homebrew/cask-fonts
brew cask install font-fira-code
# # # # # # Sublime Text # # # # # #
# 2. Menu Sublime Text > Preferences > Settings (shortcut: ⌘,), add following code:
"font_face": "Fira Code",
# 3. Restart Sublime Text
# # # # # # VS Code # # # # # #
# 2. Menu Code > Preferences > Settings (shortcut: ⌘,), add following code:
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment