Introduce new ex command :bx[it].
Similar to :x but in the context of the current buffer.
When editing a lot of files a command to save and exit the buffer would be
convenient.
If you are editing a buffer, want to save it, discard it, and continue working
at the previous buffer you have to type :w<CR>, then :bw<CR>.
With this feature you could just do the changes, type :bx<CR> and edit the next buffer.
Especially when editing a lot of files this would save time.
Similar to :x to save and quit vim which is such an improvement over :wq.
This would also help to not clutter up the buffer list.
If there already is a way to do this - please let me know.
https://github.com/vim/vim/pull/18970
(4 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
What's wrong with doing all your edits in the various buffers and saving after you are done ? :wa
Do you really need to wipe each buffer individually after edit ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@bfoersterling pushed 24 commits.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
What's wrong with doing all your edits in the various buffers and saving after you are done ?
:waDo you really need to wipe each buffer individually after edit ?
It clutters up the buffer list and you can't just move between buffers with :bn and :bp.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
And what is wrong with :bd and :bw?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()