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

Background image toggle

Open ekshore opened this issue 1 year ago • 1 comments

Would it be possible to have an option to toggle the background image? Most of the time it feels like the background image needlessly pads the image making it much larger then it needs to be when sharing a code snippet.

ekshore avatar May 06 '24 02:05 ekshore

Hi @ekshore, thx for the feature request. Yes, taking code snapshots without background is a useful feature, but as https://github.com/mistricky/codesnap.nvim/issues/87#issuecomment-2067591880 says, there are a few things need to be done before this feature. But this feature has been planned to implement, it will implement in the future.

mistricky avatar May 06 '24 13:05 mistricky

Hi @ekshore, you can follow https://github.com/mistricky/codesnap.nvim?tab=readme-ov-file#customize-background-padding to hide the background, CodeSnap now supports customize background padding in release v1.4.1.

mistricky avatar Jul 04 '24 06:07 mistricky

Looks Great!

ekshore avatar Jul 04 '24 13:07 ekshore