Skip to content

Add ability to delete multiple buffers#17

Closed
Otard95 wants to merge 1 commit into
moll:masterfrom
Otard95:master
Closed

Add ability to delete multiple buffers#17
Otard95 wants to merge 1 commit into
moll:masterfrom
Otard95:master

Conversation

@Otard95

@Otard95 Otard95 commented Apr 7, 2020

Copy link
Copy Markdown

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

vds2212 commented Jan 23, 2023

Copy link
Copy Markdown

I have created a Pull request #21 that support:

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

@Otard95

Otard95 commented Nov 1, 2024

Copy link
Copy Markdown
Author

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

vds2212 commented Nov 1, 2024

Copy link
Copy Markdown

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

Otard95 commented Nov 1, 2024

Copy link
Copy Markdown
Author

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