https://github.com/mislav/stylish.vim
vim plugin to cycle through available color schemes and fonts on your system
https://github.com/mislav/stylish.vim
Last synced: 4 months ago
JSON representation
vim plugin to cycle through available color schemes and fonts on your system
- Host: GitHub
- URL: https://github.com/mislav/stylish.vim
- Owner: mislav
- Created: 2011-06-22T13:42:36.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-22T14:15:57.000Z (almost 14 years ago)
- Last Synced: 2025-02-25T10:47:50.049Z (4 months ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stylish.vim
Stylish is a vim plugin to help you cycle through available themes and
fonts on your system.## Installation
Stylish requires vim to be compiled with ruby support:
$ vim --version | grep ruby
To install, clone or download the repo and:
1. `rake install` – copies the plugin files to your vim directory
2. `rake symlink` – symlinks the files, good for contributing
3. `rake uninstall` – uninstalls the plugin## Usage
The following commands are available:
1. `:Stylish` – creates the Leader-prefixed shortcuts for the following
commands
1. `:StylishNext` (`c`) – next color scheme
1. `:StylishPrev` (`cp`) – previous color scheme
1. `:StylishRand` (`r`) – random color scheme
1. `:StylishFont` (`f`) – next programming font (currently OS X
only)Typical usage is opening vim, executing the `:Stylish` command and pressing
`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.
## Fonts to try out
* [Inconsolata][]
* [Anonymous Pro][anon]
* [DejaVu Sans Mono][dejavu]Install them on your system, cycle through with `f`. On MacVim,
resize fonts with `⌘-` and `⌘=`. Support for
systems other than OS X is on the way.[janus]: https://github.com/carlhuda/janus
[inconsolata]: http://www.levien.com/type/myfonts/inconsolata.html
[anon]: http://www.ms-studio.com/FontSales/anonymouspro.html
[dejavu]: http://dejavu-fonts.org/wiki/Main_Page