

GitHub - lifepillar/vim-colortemplate: The Toolkit for Vim Colorscheme Designers...
source link: https://github.com/lifepillar/vim-colortemplate
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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
orscripts/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!
Recommend
-
138
_ _ _ _ __ _(_)_ __ ___ _ __ ___ __ _| |_ ___ _ __(_) __ _| | \ \ / / | '_ ` _ \ _____| '_ ` _ \ / _` | __/ _ \ '__| |/ _` | | \ V /| | | | | | |_____| | | | | | (_|...
-
97
Readme.md WWDC16 Color Scheme for Vim
-
86
README.md Vim PostgreSQL syntax plugin
-
187
Readme.md Gruvbox 8 - Vim Colorscheme
-
86
README.md vim-corvine
-
7
Sunbather A minimal pink colorscheme for Vim. Screenshots Fira Code font on dark and light backgrounds: Installation Copy the color scheme file to your ~/.vim/colors directory, or...
-
25
A beautiful and dark vim/neovim colorscheme. Installation Vim-Plug First install vim-plug . Plug 'mangeshrex/uwu.vim'
-
9
A dark low-contrast colorscheme. : vim online apprentice.vim : A dark low-contrast colorscheme. script karma Rating 50/21, Downloaded by 4523 Comm...
-
11
A Vim colorscheme with almost no highlighting, except where it matters! : vim online highlight.vim : A Vim colorscheme with almost no highlighting, except where it matters! script...
-
6
Vim Cyberpunk Theme: 2 variations Installation You can install cyberpunk via plug adding to your .vimrc or init.vim: Plug 'thedenisnikulin/vim-cyberpunk' ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK