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

Remember collapse state of entries within file when re-opening file #265

Open
distefam opened this issue Nov 3, 2023 · 1 comment
Open

Comments

@distefam
Copy link

distefam commented Nov 3, 2023

I frequently use the toggle collapse feature for entry contents (see #80) to gain a cleaner view of my project when trying to "zoom out" and see the entire project at a glance. When closing and re-opening a file, however, one must again re-collapse all entries' contents, making it frustrating to navigate away from the file once I've gotten all entries' contents collapsed.

There are two possible ways to address this that I can see:

  1. remember the toggle state of an entries contents (and/or properties, timestamps, etc.)
  2. add a shortcut to toggle the selected property for the entire file (zC, for example--in contrast with zc--could toggle the contents for all entries in a file).
@NorfairKing
Copy link
Owner

NorfairKing commented Nov 4, 2023

@distefam you might be using files that are too big.

The starting position logic is designed to bring you directly to the right entry with the right collapsing.
Maybe you can take advantage of it more effectively?

In any case there's no way to remember collapsing I think.

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

No branches or pull requests

2 participants