Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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