Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bourgeoisbear/vimcolor2html
Batch-generate HTML examples of Vim color schemes.
https://github.com/bourgeoisbear/vimcolor2html
bash-script color color-scheme colors colorschemes html shell-script vim vim-colorschemes
Last synced: 13 days ago
JSON representation
Batch-generate HTML examples of Vim color schemes.
- Host: GitHub
- URL: https://github.com/bourgeoisbear/vimcolor2html
- Owner: BourgeoisBear
- License: gpl-2.0
- Created: 2017-08-30T02:14:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T15:39:33.000Z (over 6 years ago)
- Last Synced: 2024-11-13T00:33:33.562Z (2 months ago)
- Topics: bash-script, color, color-scheme, colors, colorschemes, html, shell-script, vim, vim-colorschemes
- Language: Shell
- Homepage: https://eggplant.pro/vimcolor2html.md
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
vimcolor2html.sh
================## Why?
Live-toggling colorschemes in Vim is slow and error-prone. This script will take a list of installed Vim color schemes and generate a list of HTML example files from it.## Usage
```
vimcolor2html.sh
================
Creates colored HTML samples of [EXAMPLE SOURCE] using installed Vim color schemes listed in [COLOR SCHEME LIST].
Writes an HTML file for each color scheme listed in [COLOR SCHEME LIST] TO [OUTPUT FOLDER].
Usage
=====
./vimcolor2html.sh [COLOR SCHEME LIST] [EXAMPLE SOURCE] [OUTPUT FOLDER]
```## FYI
* List installed colorschemes in Vim: `:colorscheme `
* Requires `bash` and `vim`
* Thanks to: [Robert Elder's article on using Vim inside a pipe](http://blog.robertelder.org/use-vim-inside-a-unix-pipe-like-sed-or-awk/)
* This will run faster on smaller example files
* Terminal needs to have 256-color support. If you use `tmux`, start it as `tmux -2`.## Alternate Homepage
* https://eggplant.pro/vimcolor2html.md## Resources
* https://github.com/flazz/vim-colorschemes
* https://github.com/rafi/awesome-vim-colorschemes