Skip to content

Option to show a different delimiter in the finder than the one used #548

@tobx

Description

@tobx

I would love to have an option to show a different delimiter in the finder than the one used in the background. This would also solve #314.

Example:

echo '1:2:;3' | sk --delimiter '[:;]+' --with-nth '1,3,2'

This displays 1:32:; in the finder.

Introducing a new option like --display-delimiter could solve that problem:

printf '1:2:;3' | sk --delimiter '[:;]+' --display-delimiter ' : ' --with-nth '1,3,2'

This could easily display 1 : 3 : 2, because junegunn/fzf#2154 (comment) would not be a problem in this case.

This would also enable users to use a "safe" delimiter like NUL and display a human readable delimiter in the finder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions