Skip to content

Instantly share code, notes, and snippets.

@lujiacn
Forked from ymjing/Monaco for Powerline.md
Created October 25, 2017 15:03
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save lujiacn/32b598b1a6a43c996cbd93d42d466466 to your computer and use it in GitHub Desktop.
Save lujiacn/32b598b1a6a43c996cbd93d42d466466 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)
@simonszu
Copy link

Apparently this font is missing a symbol for ❯ - at least it is not rendered correctly on my system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment