Giter Club home page Giter Club logo

vim-two-firewatch's Introduction

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

vim-two-firewatch's People

Contributors

keremc avatar mcchrish avatar rakr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vim-two-firewatch's Issues

Background resets to light variant

  • using latest version of Neovim
  • nightly build iTerm2

In my init.vim I have set background=dark, however when I open nvim it still flips to light variant. It successfully switches when I use the :set bg=dark command, but it's annoying to constantly have to enter it.

Improve tab contrast

Hello there! I know this theme is been around for a long time, but I was wondering if there is space to improve the colours used for the tab line. With background = dark, the tabs are light and a bit blinding, while with background = light the text is difficult to read.

I would propose this change:

diff --git a/colors/two-firewatch.vim b/colors/two-firewatch.vim
index a5c61a4..fa525fd 100644
--- a/colors/two-firewatch.vim
+++ b/colors/two-firewatch.vim
@@ -331,8 +331,8 @@ if has('gui_running') || &t_Co == 88 || &t_Co == 256
   call <sid>X('SpecialKey',   s:syntax_fold_bg, '',                   '')
   call <sid>X('StatusLine',   s:syntax_fg,      s:syntax_cursor_line, 'none')
   call <sid>X('StatusLineNC', s:uno_4,          '',                   '')
-  call <sid>X('TabLine',      s:uno_4,          '',                   '')
-  call <sid>X('TabLineFill',  '',               '',                   'none')
+  call <sid>X('TabLine',      s:syntax_fg,      s:uno_4,              '')
+  call <sid>X('TabLineFill',  '',               s:uno_4,              'none')
   call <sid>X('TabLineSel',   s:syntax_fg,      '',                   '')
   call <sid>X('Title',        s:duo_2,          '',                   'bold')
   call <sid>X('Visual',       '',               s:syntax_selection,   '')

Before and after

image
image

image
image

Differentiate between a pair of brackets

Hi,

This theme is great, but could you include different colored highlights when the cursor is over a bracket? Right now both brackets are highlighted exactly the same in vim, so sometimes it gets confusing which bracket the cursor is on.

Thanks!

Treesitter support

Thoroughly enjoy this colour scheme, would be great if it would support Treesitter.

Sign column color should be improved

This is a top notch theme (thanks for your work) and I realize this "issue" is more of a subjective thing, but the sign column background color could be improved. It's too pronounced and demands too much attention (especially with a lot of splits). Personally I would suggest to make it more aligned (perhaps slightly different shade) with the background.

gvim

Operator group is not highlighted

As seen in the attached screenshot. Operator group has the same color as base text. This is a problem for languages which have operators which are text keywords (ex. "sizeof")

tf-oper

I'm using Neovim 0.1.5-dev on Ubuntu 16.

256 Color Support

Hi,

i really like this theme, unfortunately it can't be used with 256 color terminals like xterm and urxvt.
Maybe it is too much to ask for it, but could you add 256 color support in your theme ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.