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.
First, just try
:DumpColorScheme
After this operation, a file "dump-{colorscheme}.csed" will be created in the directory "~/.vim/colors/" and opened.
*.csed is native format to discribe colorscheme.
You can rename the .csed file to your preferred name.
:w my_custom_colorscheme.csed
:e my_custom_colorscheme.csed
The basename of .csed is used as the colorscheme name.
Press CTRL-l
will update highlights, and you can check colors visually.
Press CTRL-s
The colorscheme file "{basename}.vim" will be created in "~/.vim/colors/".
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
See more ditails.
:help csedit
Use a package manager like vim-plug.
Using vim-plug:
Plug 'nokobear/vim-colorscheme-edit'