Theme
Put theme file in ~/.vim/colors
and add set runtimepath+=~/.vim
in ~/.vimrc
.
Font
You need to make sure the font has already existed in the system. If not, you need to add TTF file.
Here I use Source-Code-Pro and Adobe Font Development Kit for OpenType (AFDKO) will be needed to build this font file. Double click FinishInstallOSX
to install AFDKO and run $ ./build.sh
in the downloaded font directory to build all TTF. They will be in the target
folder.
Open Font Book
in Mac and add all the TTF files into it by click +
.
Then you need to add the following to .vimrc
remember to use _
instead of space:
"set font and size
set guifont=Source_Code_Pro:h15
So what do you think of it? Do I miss something? Leave your comments below...
comments powered by Disqus