Skip to content

feat: toggling hidden files/directories#9

Merged
LeperGnome merged 3 commits intomainfrom
feat/toggle-hidden
Jan 9, 2025
Merged

feat: toggling hidden files/directories#9
LeperGnome merged 3 commits intomainfrom
feat/toggle-hidden

Conversation

@LeperGnome
Copy link
Copy Markdown
Owner

@LeperGnome LeperGnome commented Nov 18, 2024

Allows to toggle view of hidden files or directories in current directory. Addressing #8.

I was thinking about applying the toggle to the whole tree, but it leads to questions like: "What should the tree look like, when toggling hidden off, when being in a hidden directory? Or in a subdirectory, that's not hidden itself, but who's parent is hidden?" ... etc.

I feel like toggling hidden only for current directory is fine, because you only really want to toggle, when there's a lot of hidden stuff in a current directory, that you don't really care about and it gets in your way (e.g. ~ sometimes).

As a bonus feature of such an approach - you can toggle off hidden files in some directories, but keep them in others. This might be handy... or confuse you... depends

@LeperGnome LeperGnome added the enhancement New feature or request label Nov 18, 2024
@LeperGnome LeperGnome merged commit 12e9988 into main Jan 9, 2025
@LeperGnome LeperGnome deleted the feat/toggle-hidden branch February 26, 2025 00:46
@LeperGnome LeperGnome restored the feat/toggle-hidden branch February 26, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant