image.nvim icon indicating copy to clipboard operation
image.nvim copied to clipboard

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

Open niksingh710 opened this issue 1 year ago • 4 comments

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

niksingh710 avatar Feb 19 '24 08:02 niksingh710

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

niksingh710 avatar Apr 05 '24 20:04 niksingh710

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 avatar Apr 29 '24 07:04 xuwei152

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

Clip_2024-05-04_21-38-59

xuwei152 avatar May 04 '24 14:05 xuwei152

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

3rd avatar May 04 '24 21:05 3rd