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

default name of file with '/'

Open cxwx opened this issue 11 months ago • 4 comments

Hi, I'm using this plug in macos it automatically create file name with '/'

like 'CodeSnap_2025-01-16_at_21/06/08.png'

I think using '_' is better than '/' as '/' are used for diirectory

I'm not sure if it's a good idea.

cxwx avatar Jan 16 '25 13:01 cxwx

I think it works fine because macOS can escape the /. Try creating a folder called /// and see what happens!

realhackcraft avatar Feb 05 '25 13:02 realhackcraft

however some other apps don't support the path with '/' It will be Identified as a path

cxwx avatar Feb 06 '25 08:02 cxwx

It would be nice if you added support for custom file paths.

I have the save_path set to <Screenshot_Directory>/CodeSnap/, and I would like to have the file_name as simply yyyy-MM-dd_HH-mm-ss.png

KennethHoff avatar Jun 21 '25 21:06 KennethHoff

Okay I will do that sir

On Sat, Jun 21, 2025 at 10:57 PM Kenneth Hoff @.***> wrote:

KennethHoff left a comment (mistricky/codesnap.nvim#141) https://github.com/mistricky/codesnap.nvim/issues/141#issuecomment-2993788404

It would be nice if you added support for custom file paths.

I have the save_path set to <Screenshot_Directory>/CodeSnap/, and I would like to have the file_name as simply yyyy-MM-dd_HH-mm-ss.png

— Reply to this email directly, view it on GitHub https://github.com/mistricky/codesnap.nvim/issues/141#issuecomment-2993788404, or unsubscribe https://github.com/notifications/unsubscribe-auth/BQOHK6KYYVIAZ2HABUPDFAT3EXIK7AVCNFSM6AAAAABVJSPAGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSOJTG44DQNBQGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

lkn-love avatar Jun 26 '25 09:06 lkn-love