Stylish is a vim plugin to help you cycle through available themes and fonts on your system.
Stylish requires vim to be compiled with ruby support:
$ vim --version | grep ruby
To install, clone or download the repo and:
rake install– copies the plugin files to your vim directory
rake symlink– symlinks the files, good for contributing
rake uninstall– uninstalls the plugin
The following commands are available:
:Stylish– creates the Leader-prefixed shortcuts for the following commands
<Leader>c) – next color scheme
<Leader>cp) – previous color scheme
<Leader>r) – random color scheme
<Leader>f) – next programming font (currently OS X only)
Typical usage is opening vim, executing the
:Stylish command and pressing
<Leader>r ("Leader" character by default is
\) to explore color
schemes in random order.
Stylish affects two vim settings:
:set guifont. Type
these commands to inspect the current settings. Copy the commands with their values to your "~/.vimrc"
and "~/.gvimrc" to persist them.
Tip: different fonts look best with different
" .vimrc color molokai " .gvimrc color twilight set guifont=Menlo\ Regular:h14 set linespace=2
If you're using Janus, put custom settings in "~/.vimrc.local" and "~/.gvimrc.local" instead.
Install them on your system, cycle through with
<Leader>f. On MacVim,
resize fonts with
⌘=. Support for
systems other than OS X is on the way.