Giter VIP home page Giter VIP logo

yowish.vim's Introduction

Yowish, a yellowish dark vim colorscheme

Badge version License version

Description

Yowish is a vim dark theme similar to outlander, with some yellow in it ๐Ÿ˜ƒ
It works well on both GUI & 256-colors terminal.

Viml code

See supported file types, customized plugins and screens.

Note You can even use your own colors..

GUI vs terminal

The colors in 256-color terminals are quite similar to the ones in the GUI version.
Here is a comparison between GVim and xfce-terminal with a standard color palette:

GUI vs Terminal

Supported file types

Normally, any file type should be good looking, but some are more customized than others, check the screens.

Syntax plugins

The theme uses some elements from the following syntax plugins:

Other plugins

The theme provides custom colors for the following plugins (Note that you can disable them, see configuration for that).

Installation

Copy the distributed files into Vim runtime directory which is usually ~/.vim/, or $HOME/vimfiles on Windows.

Or in a better way, use a vim plugin manager:

Plugin manager In vimrc Installation command
Vim-plug Plug 'KabbAmine/yowish.vim' PlugInstall
Vundle Plugin 'KabbAmine/yowish.vim' PluginInstall
NeoBundle NeoBundle 'KabbAmine/yowish.vim' NeoBundleInstall

Configuration

The configuration of the plugin is stocked in one global dictionary g:yowish.
To define/modify an option you can either:

let g:yowish = {}
let g:yowish.option1 = 'foo'
let g:yowish.option2 = 0

Or:

let g:yowish = {
			\ 'option1': 'foo',
			\ 'option2': 0
		\ }

Options

Be sure to define options before loading the colorscheme

key default value description
colors See custom color palette Color palette
term_italic 0 Use italic in terminal
comment_italic 0 Use italic for comments
spell_bad_color NONE Change color for spell check errors. Use the color name from color palette
ctrlp 1 Custom colors for CtrlP
unite 1 Custom colors for Unite
nerdtree 1 Custom colors for NERDTree
agit 1 Custom colors for Agit
signjk 1 Custom colors for Signjk

Custom color palette

Starting from version 0.7.3 you can modify the color palette used in the theme using g:yowish.colors.
The values by default are:

g:yowish.colors = {
			\	'background'        : ['#222222', '235'],
			\	'backgroundDark'    : ['#0e0e0e', '232'],
			\	'backgroundLight'   : ['#393939', '236'],
			\	'comment'           : ['#6e6e6e', '242'],
			\	'green'             : ['#2acf2a', '40'],
			\	'lightBlue'         : ['#6699cc', '67'],
			\	'lightGreen'        : ['#99cc99','108']
			\	'lightRed'          : ['#f2777a', '203'],
			\	'lightViolet'       : ['#d09cea', '171'],
			\	'lightYellow'       : ['#ffcc66', '222'],
			\	'red'               : ['#f01d22', '160'],
			\	'selected'          : ['#373b41', '234'],
			\	'text'              : ['#cbcbcb', '251'],
			\	'textDark'          : ['#bebebe', '249'],
			\	'textExtraDark'     : ['#8c8c8c', '244'],
			\	'textLight'         : ['#ebebeb', '255'],
			\	'yellow'            : ['#ffbe3c', '215'],
			\ }

The value of each key is a list containing:

  1. A hexadecimal color for GUI.
  2. The equivalent 256-color for supported terminals.

An small example of customization here.

Screens

Feel free to add screens for other file types or plugins.

css

Css sample

html

Html sample

pug

Pug sample

javascript

Javascript sample

php

Php sample

ruby

Ruby sample thanks to @

scss

Scss sample

sh

Sh sample

Diff with coffeescript files.

Diff

Notes

Being the 1st vim colorscheme that I'm developing, feel free to report issues. Pull requests are welcome, but please provide a before/after screenshot.

And if you're asking yourself, yeah I like yellow ๐Ÿ˜„

Todo

  • Support more plugins if needed
  • Better support for the following file types (PR are more than welcome):
    • python
    • c
    • java

Thanks

Thanks to Bram Moolenaar for creating the best piece of software in the world โค๏ธ

Thanks to you if you're using yowish.

yowish.vim's People

Contributors

kabbamine avatar ajnasz avatar

Watchers

 avatar James Cloos avatar  avatar

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.