Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 549 Bytes

readme.md

File metadata and controls

24 lines (15 loc) · 549 Bytes

nvim-screenshot

Neovim Plugin to screenshot lines of code.

Install

Add the plugin to Neovim and compile the go binary

vim-plug example:
Plug 'asamonik/nvim-screenshot', { 'do': 'go build' }

Packer:
use { 'asamonik/nvim-screenshot', run = 'go build' }

Usage

Call :Screenshot without arguments to copy a screenshot of the visually selected lines to clipboard.

Call :Screenshot ./path/ to save selected lines as a .png file under the specified path

TODO

  • de-indent code in screenshot
  • Bold, Italic and Underline