3rd / image.nvim

🖼️ Bringing images to Neovim.
MIT License
812 stars 35 forks source link

How can i make it to only show image when key pressed? #130

Open niksingh710 opened 4 months ago

niksingh710 commented 4 months ago

like shift + k over the image url? then only show image?

niksingh710 commented 3 months ago

@3rd This would be a nice option if possible. Only trigger image preview when a key is pressed while the cursor is over it?

xuwei152 commented 2 months ago

I also think this will be a good feature. Although there is an option of "only_render_image_at_cursor=true", it makes motion less smoothing.

xuwei152 commented 2 months ago

The latest version of the vscode has just implemented this feature.

Clip_2024-05-04_21-38-59

3rd commented 2 months ago

We'll add a helper to achieve this, it's just a few lines of code.