Code Monkey home page Code Monkey logo

mod8.vim's Introduction

mod8.vim

mod8 is a dark theme only modification of the base16 vim colorschemes. Since mod8 uses only the dark background, it requires fewer colors, thereby freeing up certain terminal colors. This is useful for other terminal applications like ncmpcpp, weechat, dircolors etc.

Here is a comparison of base16 and mod8 using the base16-ocean theme. On the left is gvim with base16-ocean, and on the right is vim in urxvt, with mod8 using the base16-ocean palette.

colorschemes comparison

Here is the comparison of the terminal colors. On top is mod8 using the base16-ocean palette, and bottom is the default colors in base16-ocean.dark.Xresources file.

palette

As you can see, mod8 frees up the colors from 10-13.

Usage

For generating the mod8 vim colorscheme from a base16 based scheme, run

$ ./genmod8.sh <base16-colorscheme.vim>

This will generate the vim colorscheme, and an Xresources file to use for terminal colors. Currently, Xresources is the only supported format for terminal emulators.

Note that generating a new vim theme is required only if you want to use the theme in gvim. If you only wish to use it in terminal, just the new Xresources is required.

Tips

Head over to husl-colors.org to generate well behaved themes based on base16. You can then run the genmod8.sh script to give you the terminal colors, and the mod8 theme.

Links & Credits

  • base16 repo by Chris Kempson.
  • HUSL - Random syntax colorschemes.
  • harmonic16 - A color generator for harmonic base16 colorschemes.

TODO

  • Integrate husl-colors generator.
  • Make husl generator bound to a particular palette
  • Use palette from images to automatically generate well behaved vim colorschemes, matching the wallpaper.

mod8.vim's People

Contributors

aloisdg avatar easysid avatar

Watchers

 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.