Skip to content

A text-based easily colorscheme editor (or dumper) on vim.

License

Notifications You must be signed in to change notification settings

nokobear/vim-colorscheme-edit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-colorscheme-edit

csedit-logo

Introduction

A text-based easily colorscheme editor (or dumper) on vim.

Features:

  • Text-based colorscheme editor (or dumper).
  • Can check colors visually on vim.
  • Can output both terminal and GUI colorschemes.
  • Can output simple codes.
  • Uses the native file format (.csed) which is easy to edit.
  • Uses mainly 256 index colors.
  • Supports for both gVim and Terminal Vim version 7.0+.
  • Written in 100% vimscript with no outside dependencies.

Screenshots

screenshot

Usage

1. Dump current colorscheme

First, just try

:DumpColorScheme

screenshot-dump-cmd

screenshot-dump-saveto

After this operation, a file "dump-{colorscheme}.csed" will be created in the directory "~/.vim/colors/" and opened.

screenshot-dump-edit

*.csed is native format to discribe colorscheme.

2. Rename and Edit {colorscheme}.csed

You can rename the .csed file to your preferred name.

:w my_custom_colorscheme.csed
:e my_custom_colorscheme.csed

screenshot-rename-write

screenshot-rename-edit

The basename of .csed is used as the colorscheme name.

3. Check highlight colors

Press CTRL-l

screenshot-check-ctrl-l

will update highlights, and you can check colors visually.

4. Build

Press CTRL-s

screenshot-build-saveto

The colorscheme file "{basename}.vim" will be created in "~/.vim/colors/".

screenshot-build-apply

Finally you'll get your own colorscheme.


Csedit uses 256 index colors, you can check it with this URL.
https://github.com/nokobear/vim-colorscheme-edit/blob/master/img/presets/tango.png

presets-tango


See more ditails.

:help csedit

Installation

Use a package manager like vim-plug.

Using vim-plug:

Plug 'nokobear/vim-colorscheme-edit'

About

A text-based easily colorscheme editor (or dumper) on vim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published