I had a set of buffers open that I want to keep.
Then I started a search with M-x rgrep
(SPC f g
on Spacemacs).
While browsing results with n
and p
, each file containing a result is opened in a new buffer.
After I'm done with the search and browsing, I'm left with dozens of buffers open that I no longer want.
They are in the same project as I have the buffers I want to keep, so I can't just M-x projectile-kill-buffers
.
Is there any other way?