vim-two-firewatch


Ⅰ. 插件描述

A blend between duotone light and firewatch for atom

Ⅱ. 基本信息

创建日期:  2016-07-02
使用用户:  127
Github星:  291
插件作者:  Ramzi Akremi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'rakr/vim-two-firewatch'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'rakr/vim-two-firewatch'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'rakr/vim-two-firewatch'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/rakr/vim-two-firewatch

Ⅳ. 文档说明

logo

Vim-Two-Firewatch Colorscheme

Vim-Two-Firewatch is a GUI and true color optimised colorscheme that gracefully adapts if your
environment supports only 256 colors. It comes with a light and a dark variation.

It has been tested on a Mac NeoVim 0.1.4 and 0.1.5, Vim 7.4.1952 with iTerm2 (nightly build)
This colorscheme has also a theme for Airline.

Why Two-Firewatch?

Simurai has created duotone themes for Atom.

DuoTone themes use only 2 hues (7 shades in total), toning down less important parts and hightlighting
only the important ones.

These themes come in different flavours (mostly dark) and some contributors have created light shades.

I wasn't satisfied with the any adpatations for Vim, for different reasons:

  • I loved the original duotone light theme
  • I hated the original duotone dark theme, background was too... purple

I decided to give it a go:

  • Be as close as possible to the duotone light theme
  • Adapt firewatch for Atom so it fits with the duotone principle

Appearance

Here is how this looks like:

Light version:
Two-Firewatch Light Version

Dark version:
Two-Firewatch Dark Version

Installation

Use your favorite vim plugin packager.

Usage

set background=dark " or light if you prefer the light version
let g:two_firewatch_italics=1
colo two-firewatch

let g:airline_theme='twofirewatch' " if you have Airline installed and want the associated theme

If your environment supports italic, you can set g:two_firewatch_italics=1 in your vimrc

iTerm2 Theme

Can be found here, two flavours as well: iTerm2 Two Firwatch theme

Toggling background

When you switch background, Vim reapplies the same colorscheme. The builtin Vim way is :set bg=dark or :set bg=light.
If you want to speed the process, because like me you use a light colorscheme during the day and a dark one at night, there is a solution:

Toggle BG

This script has been extracted from the Solarized colorscheme and will allow you to switch background with on key stroke.

Contributors

I would like to thank the following people for their contributions:

  • Keremc, for adding the support for Neovim's terminal
  • mcchrish, for the lightline theme

添加新评论