Skip to content

Instantly share code, notes, and snippets.

@wenLiangcan
Forked from ymjing/Monaco for Powerline.md
Last active October 4, 2017 10:18
Show Gist options
  • Save wenLiangcan/b1d9c0d74f5534d77e18 to your computer and use it in GitHub Desktop.
Save wenLiangcan/b1d9c0d74f5534d77e18 to your computer and use it in GitHub Desktop.

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