Coder Social home page Coder Social logo

disco.vim's Introduction

disco.vim

A full set of 1-, 8-, 16-, 88-, 256-, and GUI-color-compatible Vim colors. Aims to be bulletproof and obey terminal palette options and background setting if present.

Codebase derived from jsit/vim-tomorrow-theme (which was derived from chriskempson/vim-tomorrow-theme)

Options

  • g:disco_nobright: If set to 1, don't use bright colors. Default 0.
  • g:disco_red_error_only: If set to 1, only use the red color for errors -- useful for terminal themes that intend to reserve this color for that purpose, like Rainglow. Default 0.

Custom color mapping

g:disco_color_map allow you to manually map any Disco color to a specific terminal color. Example:

let g:disco_color_map = {
	\'green': 'DarkYellow'
	\'truered': 'DarkRed'
\}

The value (e.g. 'DarkYellow') should be taken from :h gui-colors; the keys (e.g., 'green') are as follows:

  • red: High-contrast Red (against background)

  • green: High-contrast Green

  • yellow: High-contrast Yellow

  • blue: High-contrast Blue

  • magenta: High-contrast Magenta

  • cyan: High-contrast Cyan

  • dimred: Low-contrast Red (against background)

  • dimgreen: Low-contrast Green

  • dimyellow: Low-contrast Yellow

  • dimblue: Low-contrast Blue

  • dimmagenta: Low-contrast Magenta

  • dimcyan: Low-contrast Cyan

  • bg: Background color

  • fg: Foreground (text) color

  • truered: Actual red, if red is to be used only for errors

  • dim: Low-contrast gray color, for Number, CursorLine background, etc.

  • dimtwo: High-contrast gray color, for Comment foreground etc.

  • brightyellow: Background color for search results

Screenshots

These screenshots were made using iTerm2 with the specified Color Presets, t_Co=256, and no Vim plugins

Monokai

Base16 Railscasts Light

Base16 Railscasts Dark

Base16 Tomorrow

Solarized

Jellybeans

Tango Light

Tango Dark

License

Copyright (c) Jay Sitter. Distributed under the same terms as Vim itself. See :help license.

disco.vim's People

Contributors

jsit avatar vovw avatar vyp 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sheck jcherven

disco.vim's Issues

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.