Skip to content

Instantly share code, notes, and snippets.

@epegzz
Created January 18, 2012 17:19
Show Gist options
  • Star 93 You must be signed in to star a gist
  • Fork 31 You must be signed in to fork a gist
  • Save epegzz/1634235 to your computer and use it in GitHub Desktop.
Save epegzz/1634235 to your computer and use it in GitHub Desktop.
Monaco for vim-powerline

INSTALL

Just download and put into your ~/.fonts dir and run fc-cache -vf

If you're using urxvt add something like this to your ~/.Xresources or ~/.Xdefaults:

URxvt*font:                 xft:Monaco for Powerline:regular:size=8
URxvt*imFont:               xft:Monaco for Powerline:regular:size=8
URxvt*boldFont:             xft:Monaco for Powerline:bold:size=8
URxvt*italicFont:           xft:Monaco for Powerline:italic:size=8
URxvt*boldItalicFont:       xft:Monaco for Powerline:bold:italic:size=8

Make sure to run xrdb -merge ~/.Xresources afterwards and close all urxvt terminals.

@AdrienLemaire
Copy link

Thank you !!! Tried tons of things, and that finally worked for me.

I'm not an expert with fonts, but I have a slow terminal due to heavy zsh/tmux/vim confs, and one way to make that faster would be to disable xft. I can't run urxvt if I just drop out the "xft:" part of your lines, do you have an idea how to do that ?

@AdrienLemaire
Copy link

hmm also this patched font contains very few characters :( It messed up my zsh theme, because all those characters aren't handled by your font. Don't really know what to do now

@AdrienLemaire
Copy link

Ok I finally changed font (Menlo for Powerline found here: https://gist.github.com/1595572), which contains a lot more chars, making my vim and zsh looking fine. Your procedure is great, it would be nice for next urxvt users to have it included in vim-powerline doc or wiki

@tlhunter
Copy link

:set guifont=Monaco\ for\ Powerline:h12

@amiroff
Copy link

amiroff commented Nov 1, 2012

Finally, a Monaco font that works under Linux at any size. Thank you!

@noah
Copy link

noah commented Nov 17, 2012

@amiroff:

Finally, a Monaco font that works under Linux at any size. Thank you!

^This!

@nashamri
Copy link

I get 404? what's wrong?

@extrilldi
Copy link

Unless there is something wrong with Konsole, Yakuake, and Gvim, there is something wrong with the character 'f'.
It causes something like a ligature (for example, typing 'fi', makes it look exactly like the picture in http://en.wikipedia.org/wiki/Typographic_ligature).
It is the only problem I've encountered.

@fradeve
Copy link

fradeve commented Feb 20, 2013

after hours spent to try tmux-powerline's and vim-powerline's patched fonts on xterm, installing urxvt and following you tips worked flawlessly, thank you :)

@nikeasyanzi
Copy link

I use win7 and gvim7.3. I can install this patched font. However, I cannot switch to this font! Why?

original monaco font is workable. does this patch font only use under Linux? any one can help?

@jck
Copy link

jck commented Dec 28, 2013

This font doesn't work with the current version of powerline, since the code points changed in march.

@pacuna
Copy link

pacuna commented Apr 29, 2014

thanks! works fine on Manjaro using lightline

@ymjing
Copy link

ymjing commented Jan 25, 2015

A monaco font that works under both Windows and OSX. https://gist.github.com/kevinis/c788f85a654b2d7581d8

Anyone can help test it under Linux?

@morganprecision
Copy link

@kevinis: I installed that font today in Xubuntu 14.10 -- it's working well

@pedrorvidal
Copy link

I got some issues, the airline symbols are missing, how can I solve this?

Thx!

@AdeshAtole
Copy link

After hours of searching found this font, which worked with gedit and sublime....Awesome....

@deathmaz
Copy link

Thank you very much!!!

@dinhtungdu
Copy link

Perfect! So beautiful on OSX at 12pt.

@ardian
Copy link

ardian commented Oct 31, 2016

If this doesn't work for anyone, I got this working on linux https://gist.github.com/baopham/1838072

@liul85
Copy link

liul85 commented Mar 25, 2017

nice, works perfect for me in terminal!!!

@darknightush
Copy link

Thanks! It is working finally on my ubuntu!

@epegzz
Copy link
Author

epegzz commented Aug 26, 2021

Thanks! It is working finally on my ubuntu!

Haha, nice! And it only took 10 years 🤣

@lemondog
Copy link

that's cool

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