Using CodeSnap or nvim-silicon For Screenshots in Neovim

In a previous blog I discussed using nvim-silicon to capture a screenshot of my Neovim buffer. At the time it felt like a good solution, and it is still a viable and usable tool. Recently I have come across another solution for creating a screenshot within Neovim. It is called CodeSnap. In this blog I will briefly show how to use CodeSnap and discuss how it compares to Silicon. CodeSnap I cover only `CodeSnap` v1.0 here. Install CodeSnap uses a Rust libary. As of v1.0 CodeSnap has a pre-built library for some architectures. For others, you need to build from source so you will need a Rust environment. The pre-built libary is available for ...

November 19, 2025 · 7 min · Ray Suliteanu

Taking Screenshots in Neovim with Silicon

When I started writing blogs, since my code was stored in GitHub, I would use GitHub Gists of my code snippets to use in my blogs. I was also predominantly using JetBrains IDEs, which have a built-in Gist-taking feature, which I love. This was very convenient, staying within my IDE. Because I was also using Medium to publish my blogs, this turned out to be very convenient because Medium could take the URL of the Gist and nicely embed the image in the published blog. However, because the URL is actually to some Javascript, and not to an image file like a PNG or JPG, I could not use the Gist URL in my blog posts on my own website quite so easily. This is in part because of the publishing tool I’m using ( Quartz), but also because I want the Gist to show “inline” like an embedded image. ...

February 15, 2025 · 5 min · Ray Suliteanu