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: toggle whether to show hidden files with . globally. #84

Closed
otakutyrant opened this issue Aug 24, 2023 · 6 comments
Closed
Labels
waiting on op Waiting for more information from the original poster

Comments

@otakutyrant
Copy link

otakutyrant commented Aug 24, 2023

Like #51 (comment) said, the current behavior of . only works locally (directory-specific).

As a contrast, the behavior of zh in joshuto can toggle whether to show hidden files globally as shown in a demostration.

@sxyazi
Copy link
Owner

sxyazi commented Aug 24, 2023

Please vote on this or leave your comment

@Gajus84
Copy link

Gajus84 commented Aug 24, 2023

I feel that globally is the more common case. At least from my experience with file managers.

And I would vote for that too, I guess.

Of course this depends on the personal workflow, but adjusting my workflow if I just want a "peek" on the dotfiles in a specific folder and it is applied globally vs. the other way around, is much less of an effort.

If globally applied, this would be, if at all, only a problem for that user outside the initial folder and there it needs only one keystroke to hide the files again.
But if applied locally and the user wants/needs to work with dotfiles and has to go through several folders, the effort is much higher aka multible keystrokes.

@sxyazi
Copy link
Owner

sxyazi commented Aug 24, 2023

I see, I'll implement it soon

@sxyazi
Copy link
Owner

sxyazi commented Aug 28, 2023

Done by #89, take a try!

Now show_hidden is tab-specific, and newly created tabs inherit the previous tab's state, which I think is a reconciliation of convenience and flexibility.

11a.mp4

@sxyazi sxyazi added the waiting on op Waiting for more information from the original poster label Aug 28, 2023
@otakutyrant
Copy link
Author

Altough I do not know what tab is, it is good enough for me presently. I confirm that it works.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting on op Waiting for more information from the original poster
Projects
None yet
Development

No branches or pull requests

3 participants