vim-shoot : Vim plugin to take screenshots of code
| script karma
Downloaded by 86
Comments, bugs, improvements
script versions (upload new version)
|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.
- g:shoot_zoom_factor - Used to zoom image (default: 2)
GitHub repo: https://github.com/JMcKiern/vim-shoot
- 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)
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:
For Firefox-based browsers:
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.
Click on the package to download.
ip used for rating: 22.214.171.124