Skip to content

Raeein/screenshot.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot.nvim

Generate pretty screenshots of code without leaving the safe space of your terminal

Requirments

  • Neovim - preferably 0.8.3
  • carbon-now (You can get it from here)

Features

  • Take screenshot of the current file (buffer yea ik) and copy it to your clipboard with :SS
  • Take screenshot of the current highlighted text and copy it to your clipboard with :SSText

Setup

  • Only inlcude the options you want to change in the setup function
  • Both clipboard and save_screenshot can not be true as carbon-now does not support it
require('Raeein/screenshot.nvim').setup({
        -- Save to clipboard or not: Boolean
        clipboard = false,
        -- Save the screen shot or not: Boolean
        save_screenshot = true,
        -- Save directory for the screnshot: String
        save_dir = "/Users/raeeinbagheri/Desktop/"
})

Installation

With packer (Have to restart neovim after installing):

use 'Raeein/screenshot.nvim'

About

Make pretty screenshots of your code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages