vim-shoot : Vim plugin to take screenshots of code
script karma |
Rating 0/0,
Downloaded by 364 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jack McKiernan |
|
script type |
utility |
|
description |
Use the command :TOpng to capture a screenshot of the selected lines (or the whole buffer if no lines are selected).
The image will be saved in vim's working directory.
Options
- g:shoot_zoom_factor - Used to zoom image (default: 2)
GitHub repo: https://github.com/JMcKiern/vim-shoot |
|
install details |
Requirements
- Vim compiled with python3 support (check this with :echo has('python3'))
- Python 3
- Chrome or Firefox (a browser based on either of these should work too)
Installation
After downloading the plugin, run the install.py script in the plugin's directory. It must take an argument specifying the webdriver to use:
For Chromium-based browsers:
./install.py chromedriver
For Firefox-based browsers:
./install.py geckodriver
This script does two things. First, it installs the selenium and requests packages. Second, it downloads the appropriate binary for the specified webdriver. These are all isolated to the plugin's local directory. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 13.59.113.183
|