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

Ability to close editors with keyboard on :ls #9426

Open
vchernetskyi993 opened this issue Jan 8, 2025 · 0 comments
Open

Ability to close editors with keyboard on :ls #9426

vchernetskyi993 opened this issue Jan 8, 2025 · 0 comments

Comments

@vchernetskyi993
Copy link

Is your feature request related to a problem? Please describe.
When listing active editors using :ls, there is an X button to close editors without opening them. I wasn't able to find/configure a shortcut to do the same with keyboard (i.e. closing a highlighted editor without opening it or using mouse).

Describe the solution you'd like
To use some keybinding to execute "Close Editor" action from the editor picker (e.g. letter d similarly to d in :bd).

Describe alternatives you've considered
Obviously, we can close editors with many different commands after switching focus to it. However, I'm used to cleaning up my open editors periodically (e.g. after some logical part of a task was done) and it's a bit tedious to open-close all of them or using :bd <n> (especially since <n> changes after each closure).

Additional context
Screenshot of the button:
image

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

1 participant