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

Add ability to open / close all items in Outline #1435

Open
idrisr opened this issue May 6, 2024 · 0 comments
Open

Add ability to open / close all items in Outline #1435

idrisr opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@idrisr
Copy link

idrisr commented May 6, 2024

Is your feature request related to a problem? Please describe.
I'm a big fan of the outline feature, but I think it could be improved. My use case is to open the outline to get a high-level overview of the file. The outline view opens by default with all items expanded, and therefore I have to go to each item and toggle it to a closed state with 'o'.

Describe the solution you'd like
I would prefer a way to open the outline with all details not shown
, so that I'm only seeing the top-level items of the outline.

Describe alternatives you've considered
I tried using the typical vim fold commands, but that didn't do what I wanted. Really, what I'm asking for is something like the fold commands, where I can expand everything, collapse everything, or expand/collapse one level, on one particular item.

Additional context
Create some method to easily toggle between these two states

02-small
01-small

@idrisr idrisr added the enhancement New feature or request label May 6, 2024
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

No branches or pull requests

1 participant