Skip to content

default name of file with '/' #141

@cxwx

Description

@cxwx

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.

Activity

realhackcraft

realhackcraft commented on Feb 5, 2025

@realhackcraft

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

cxwx

cxwx commented on Feb 6, 2025

@cxwx
Author

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

KennethHoff

KennethHoff commented on Jun 21, 2025

@KennethHoff

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

lkn-love

lkn-love commented on Jun 26, 2025

@lkn-love
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cxwx@KennethHoff@realhackcraft@lkn-love

        Issue actions

          default name of file with '/' · Issue #141 · mistricky/codesnap.nvim