Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skanehira/code2img.vim
generate image of source code
https://github.com/skanehira/code2img.vim
Last synced: about 1 month ago
JSON representation
generate image of source code
- Host: GitHub
- URL: https://github.com/skanehira/code2img.vim
- Owner: skanehira
- License: mit
- Archived: true
- Created: 2020-08-02T12:21:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-16T02:00:02.000Z (almost 4 years ago)
- Last Synced: 2024-06-10T02:33:29.779Z (3 months ago)
- Language: Vim script
- Homepage:
- Size: 9.77 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# code2img.vim
The Vim/Neovim plugin that can generate image of source code.## Usage
```vim
" generate image of file
:Code2img" generate image of selected range
:'<,'>Code2img
```## Options
| option | value | descrie |
|----------------------|---------------------------|-------------------|
| code2img_theme | solarized-dark | set color scheme |
| code2img_line_number | `0` or `1` (default: `0`) | print line number |## Requirements
- [code2img](https://github.com/skanehira/code2img)
- xclip(linux only)## Installation
e.g dein.vim```toml
[[plugins]]
repo = 'skanehira/code2img.vim'
```## Author
skanehira