Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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)
@Zhengqbbb
Copy link

Zhengqbbb commented Dec 3, 2021

Thank you for your font payment, I implemented a one-click script installation based on you.
https://github.com/Zhengqbbb/MonacoForPowerline

Now, we just need to run:

use github. base curl and git

eval "$(curl https://raw.githubusercontent.com/Zhengqbbb/MonacoForPowerline/main/install.sh)"

or use gitee. base curl and git

eval "_REMOTE=gitee _G_USER=AAAben" "$(curl https://gitee.com/AAAben/MonacoForPowerline/raw/main/install.sh)"

af9c57cb89ae0a1f81514e86604f78a3

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