Stylish.vim is a project mainly written in RUBY and VIM SCRIPT, it's free.
vim plugin to cycle through available color schemes and fonts on your system
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 directoryrake symlink
– symlinks the files, good for contributingrake uninstall
– uninstalls the pluginThe following commands are available:
:Stylish
– creates the Leader-prefixed shortcuts for the following
commands:StylishNext
(<Leader>c
) – next color scheme:StylishPrev
(<Leader>cp
) – previous color scheme:StylishRand
(<Leader>r
) – random color scheme:StylishFont
(<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: :color
and :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 linespace
setting.
Example config:
" .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 ⌘-
and ⌘=
. Support for
systems other than OS X is on the way.