Pixie.nvim
Pixie.nvim copied to clipboard
This NeoVim plugin generates ✨fancy✨ images from your code
Pixie.nvim
This NeoVim plugin generates ✨fancy✨ images from your code
Installation
This package requires
NodeJSto be installed. See How to install NodeJS
If you are on Linux, please make sure to take a look at this page.
Using packer.nvim
use({
"atlj/Pixie.nvim",
run = function() vim.cmd.PixieInstall() end
})
Usage
- Highlight the text you wish to create a Screenshot from
- Use
:PixieCopycommand to copy the generated image to your clipboard - You can now paste the generated image
How does this work
This plugin uses puppeteer to headlessly render and take a screenshot of an auto-generated HTML file.
Similar plugins
- vim-silicon uses silicon to create images using GPU.
Roadmap
G: Issues to fix
- If a line is too wide, it crashes
- Quality multiplier cannot take a float value, and it is NaN on javascript when not defined
H: Quality of Life
- Add
PixieSavecommand - Add theming support and new themes
- Make the generated screenshots bordered
- Get the quality etc. from a config
Next steps:
- Create a simple logo using Midjourney
- Share on Twitter