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

Provide AerialCloseAll and AerialCloseAllButCurrent commands #100

Closed
krishnakumarg1984 opened this issue May 5, 2022 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@krishnakumarg1984
Copy link

krishnakumarg1984 commented May 5, 2022

Description
Let's say we are editing two related files in a project as vertical splits. We have configured aerial such that each of them have their corresponding aerial window open i.e. there are a total of 2 aerial windows on screen.

One way to quickly focus on the screen might be to close all the symbols outline windows and just focus on the actual file contents. In this scenario, having an :AerialCloseAll command can be helpful to quickly close multiple aerial windows down. A counterpart, :AerialOpenAll will then help to restore the previously open aerial windows.

Now, here is another scenario I faced.

  1. Editing one file heavy on symbols with its aerial window open
  2. Editing other splits with moderate amount of symbols with their aerial windows open

(e.g. a lengthy C++ source file and three moderate-length included headers).

It is helpful to have just the symbols of the current buffer to be quickly visible, and all other symbols tree closed down (while still having those other buffers remaining open for referring). In this scenario, having a :AerialCloseAllButCurrent command shall be handy.

@krishnakumarg1984 krishnakumarg1984 added the bug Something isn't working label May 5, 2022
@stevearc stevearc added enhancement New feature or request and removed bug Something isn't working labels May 8, 2022
@stevearc
Copy link
Owner

Commands added!

@krishnakumarg1984
Copy link
Author

Superb. Works well. Thank you for considering this.

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

2 participants