Skip to content

Instantly share code, notes, and snippets.

@tjjh89017
Forked from lujiacn/Monaco for Powerline.md
Created September 12, 2023 17:48
Show Gist options
  • Save tjjh89017/a5f461875d47929f0ffe6dc697c7f939 to your computer and use it in GitHub Desktop.
Save tjjh89017/a5f461875d47929f0ffe6dc697c7f939 to your computer and use it in GitHub Desktop.
Powerline-patched Monaco for Windows and OSX

Powerline-patched Monaco for Windows and OSX

This font is manually patched with Fontforge. It includes the glyphs from DejaVu Sans Mono for Powerline.

I recommend DirectWrite-patched VIM builds. I'm using KaoriYa's build (http://www.kaoriya.net/software/vim/)

Usage

Add the following lines to your .vimrc/_vimrc:

if has("mac") || has("macunix")
    set guifont=Monaco\ for\ Powerline:h24
elseif has("win32") || has("win64")
    set guifont=Monaco\ for\ Powerline:h14:cANSI
    set renderoptions=type:directx,renmode:5
endif

Tested software

  • KaoriYa's gvim build
  • MacVim
  • iTerm2 + oh-my-zsh
  • PuTTy
  • Babun (mintty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment