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 delete multiple buffers #17

Closed
wants to merge 1 commit into from
Closed

Conversation

Otard95
Copy link

@Otard95 Otard95 commented Apr 7, 2020

Initial tests seems promising.

The call signature is the same for the original function, as to not to add any breaking changes.
The new function simply takes the same parameters and passes them along, except it splits the last containing buffer name(s), and calls the original for each.

@vds2212
Copy link

vds2212 commented Jan 23, 2023

I have created a Pull request #21 that support:

Multiple arguments: :Bdelete 2 4 5
Ranges: :%Bdelete, :2,4Bdelete or :2Bdelete

@Otard95
Copy link
Author

Otard95 commented Nov 1, 2024

I do apologize for not seeing this update until over a year after. Since I first posted, I've completely rewritten my config, found new plugins, and changed my workflow. Therefor I'm no longer using this plugin. Hope it wasn't too much inconviniance.

@Otard95 Otard95 closed this Nov 1, 2024
@vds2212
Copy link

vds2212 commented Nov 1, 2024

No problem at all ;-) I faced the same problem and proposed a fix :-).

What are the new plugins that you are using to support your new workflow?

@Otard95
Copy link
Author

Otard95 commented Nov 1, 2024

Lots. But, in regards to buffer management/navigation telescope and harpoon are amazing. They mostly only do navigation, but indirectly help with management.

For example: I use telescope to fuzzy find files, then add/mark relevant files to harpoon. This makes jumping to important stuff super fast. And because harpoon saves marks to file, I can just delete all buffers without loosing the marks, and keep jumping to those.

You can check out my dotfiles if you're curious to my entire config.

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

Successfully merging this pull request may close these issues.

2 participants