Skip to content

Commit

Permalink
usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jun 22, 2011
1 parent 6c64952 commit 3a39218
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -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.