Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] More standard visual style for collapse #263

Closed
Grumph opened this issue Apr 28, 2024 · 1 comment
Closed

[Feature Request] More standard visual style for collapse #263

Grumph opened this issue Apr 28, 2024 · 1 comment
Labels
enhancement Enhance existing functionality

Comments

@Grumph
Copy link

Grumph commented Apr 28, 2024

Is your feature request related to a problem? Please describe.
I find it hard to read collapsed paths with | as a separator.

Describe the solution you'd like
I would like my collapse visual style be like dired-collapse or any path in a shell: long/path/to/file.txt instead of long|path|to|file.txt/.

At least I should be able to customize the | character.
(replace-string "|" "/") in dirvish-collapse--cache gives the expected result for separators.
Also, there should be no trailing / when the last element of the collapse list is a file.

Additional context
The "After collapsing" image of dired-collapse has the visual style I want.

@Grumph Grumph added the enhancement Enhance existing functionality label Apr 28, 2024
@alexluigit
Copy link
Owner

Added option dirvish-collapse-separator in d4e5acb

Also, there should be no trailing / when the last element of the collapse list is a file.

I'm not able to reproduce this.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants