Permalink
Browse files

usage docs

  • Loading branch information...
1 parent 6c64952 commit 3a39218c578eab8a68008e64034d5641ea739541 @mislav committed Jun 22, 2011
Showing with 47 additions and 0 deletions.
  1. +47 −0 README.md
View
@@ -0,0 +1,47 @@
+# stylish.vim
+
+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
+
+## Usage
+
+The following commands are available:
+
+1. `:Stylish` – creates the Leader-prefixed shortcuts for the following
+ commands
+1. `:StylishNext` (`<Leader>c`) – next color scheme
+1. `:StylishPrev` (`<Leader>cp`) – previous color scheme
+1. `:StylishRand` (`<Leader>r`) – random color scheme
+1. `: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:
+
+``` vim
+" .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.
+
+
+[janus]: https://github.com/carlhuda/janus

0 comments on commit 3a39218

Please sign in to comment.