Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Bad Wolf

A color scheme for Vim, pieced together by Steve Losh.

There's still quite a lot of room for improvement (particularly in HTML) so feel free to send me ideas through the issue tracker or pull requests.

It's MIT/X11 licensed, so feel free to hack it apart if you like.

If you're going to send a pull request that you want me to merge, please post a comment in it with before/after screenshots!

Screenshots

These screenshots may be out of date, but they'll at least give you a taste of what you're in for.

Python

Screenshot

HTML (Django Templates)

Screenshot

Clojure

Screenshot

Markdown

Screenshot

Configuration

There are a few settings you can use to tweak how Bad Wolf looks.

g:badwolf_darkgutter

Determines whether the line number, sign column, and fold column are rendered darker than the normal background, or the same.

" Make the gutters darker than the background.
let g:badwolf_darkgutter = 1

Default: 0 (off, gutters are the same as the background)

g:badwolf_tabline

Determines how light to render the background of the tab line (the line at the top of the screen containing the various tabs (only in console mode)).

Can be set to 0, 1, 2, or 3.

" Make the tab line darker than the background.
let g:badwolf_tabline = 0

" Make the tab line the same color as the background.
let g:badwolf_tabline = 1

" Make the tab line lighter than the background.
let g:badwolf_tabline = 2

" Make the tab line much lighter than the background.
let g:badwolf_tabline = 3

Default: 1 (same color as the background)

g:badwolf_html_link_underline

Determines whether text inside a tags in HTML files will be underlined.

" Turn off HTML link underlining
let g:badwolf_html_link_underline = 0

Default: 1 (on)

g:badwolf_css_props_highlight

Determines whether CSS properties should be highlighted.

" Turn on CSS properties highlighting
let g:badwolf_css_props_highlight = 1

Default: 0 (off)

Contributing

I'd love pull requests, but won't necessarily merge all of them. Color schemes are a very subjective topic -- we don't all have the same taste.

If you're going to send a pull request that you want me to merge, please post a comment in it with before/after screenshots!

Recent activity

Steve Losh

Commits by Steve Losh were pushed to sjl/badwolf

9e4a521 - Add g:badwolf_tabline setting. Thanks to @jbernard on GitHub for the idea.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.