• Stars
    star
    920
  • Rank 49,655 (Top 1.0 %)
  • Language
    Vim Script
  • Created about 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The Toolkit for Vim Color Scheme Designers!

The Toolkit for Vim Color Scheme Designers!

Colortemplate is a 100% VimScript plugin for Vim 8 or later, which makes it easy to develop color schemes. Its ambitious goal is to become the way to create new color schemes for Vim!

Features

  • Generates color schemes that support all environments, from black&white to millions of colors, and both terminal and GUI Vim.
  • Generates color schemes that load efficiently and have a consistent structure following best practices.
  • Automatically provides xterm approximations for GUI colors.
  • Imports any color scheme. You do not have to start from scratch!
  • Provides a sophisticated style picker. Create color schemes in real-time directly within Vim!
  • Displays information about the highlight group under the cursor.
  • Computes useful statistics about your color scheme.
  • Supports generating any kind of auxiliary files (say, autoload/gorgeous.vim or scripts/foo.sh).
  • Has syntax completion for highlight groups, keywords and common colors.
  • …And a lot more!

Colortemplate is fully documented: to learn everything about it, read :help colortemplate.txt.

Quick Start

Installing this plugin does not require anything special. If you need help, please first check the FAQ.

:edit templates/dark.colortemplate
:Colortemplate! ~/.vim
:colorscheme dark

The resulting color scheme will be written into ~/.vim/colors. See :help colortemplate.txt for detailed documentation.

Note: :Colortemplate and other plugin's commands are filetype-specific. That means that they are available only if the filetype is set to colortemplate. You may need to explicitly type :set ft=colortemplate to make them available in new buffers.

Colortemplate is based on a very simple but very flexible template format. This is a minimal template, which you can actually compile without warnings:

Full name:  My Gorgeous Theme
Short name: gorgeous
Author:     Me <[email protected]>

Variant:    gui 256
Background: dark

; Color palette
Color:      myblack #333333 ~
Color:      mywhite #fafafa ~

; Highlight group definitions
Normal      mywhite myblack

Term colors: mywhite mywhite mywhite mywhite mywhite mywhite mywhite mywhite
Term colors: myblack myblack myblack myblack myblack myblack myblack myblack

If you want to get a flavor of how Colortemplate can be used in the real world, take a look at some color schemes created with it: WWDC16 and WWDC17 (simple), or Gruvbox 8 and Solarized 8 (complex).

Contributions

Do you want to contribute? Do you have any suggestions on how to improve Colortemplate? Open an issue or submit a pull request!

More Repositories

1

vim-solarized8

Optimized Solarized colorschemes. Best served with true-color terminals!
Vim Script
1,008
star
2

vim-mucomplete

Chained completion that works the way you want!
Vim Script
912
star
3

vim-gruvbox8

A simplified and optimized Gruvbox colorscheme for Vim
Vim Script
528
star
4

CSVKeychain

Import/export between Apple Keychain.app and plain CSV file.
AppleScript
349
star
5

pgsql.vim

The best PostgreSQL plugin for Vim!
Vim Script
271
star
6

vim-cheat40

A Vim cheat sheet that makes sense, inside Vim!
Vim Script
247
star
7

vim-wwdc16-theme

Colorful dark color scheme for Vim inspired by Apple's WWDC16 page
Vim Script
102
star
8

homebrew-appleii

Homebrew formulae for anything related to Apple I, Apple II, Apple ///, and Apple IIGS emulators.
Ruby
54
star
9

vim-outlaw

The wanted outliner!
Vim Script
46
star
10

vim-wwdc17-theme

Colorful light color scheme for Vim inspired by Apple's WWDC17 page
Vim Script
39
star
11

vimrc

My personal Vim configuration.
Vim Script
34
star
12

ASUnit

AppleScript unit testing framework (originally written by Nir Soffer)
AppleScript
34
star
13

csv2keepassxml

Convert CSV files into KeePass 2 XML files.
Ruby
33
star
14

ledger2html

Process Ledger output to produce HTML5 reports.
Ruby
27
star
15

vim-zeef

Because you need to filter, but you want to do it your way!
Vim Script
19
star
16

nanoc4-template

A template for a site built with Nanoc 4 (http://nanoc.ws/), especially suited for blogs.
Ruby
16
star
17

Ledger.tmbundle

TextMate support for Ledger 3 (http://www.ledger-cli.org)
Ruby
10
star
18

ASMake

An AppleScript build library
AppleScript
10
star
19

middleman-by-lifepillar

A Middleman Template [OBSOLETE]
Ruby
9
star
20

dotfiles

🏡 My dotfiles… finally!
Shell
9
star
21

vim-formal-package

Vim package supporting various formal languages.
Vim Script
7
star
22

vim-devel

The workbench for modern Vim development
Vim Script
7
star
23

vim-keysound

Turn Vim into a typewriter!
Vim Script
6
star
24

vim8-colorschemes

Temporary repository for reworked Vim color schemes
Vim Script
4
star
25

vim-ucf

User completion functions for Vim
Vim Script
4
star
26

drupid

The not-so-smart Drupal updater that keeps your Drupal platform in sync with a Drush makefile!
Ruby
2
star
27

vim-context-metapost

Development line of the ConTeXt and MetaPost scripts distributed with Vim.
Vim Script
2
star
28

typewriter-sounds

Some typewriter sounds from various sources
2
star
29

awesome-data-not-collected-ios

1
star
30

sqlite3decimal-mirror

Mirror of https://chiselapp.com/user/lifepillar/repository/sqlite3decimal
C
1
star