Skip to content

Instantly share code, notes, and snippets.

@polarlights
Forked from ymjing/Monaco for Powerline.md
Created December 8, 2015 15:57
Show Gist options
  • Save polarlights/9551c732f59aeef10c37 to your computer and use it in GitHub Desktop.
Save polarlights/9551c732f59aeef10c37 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