如何删除一个layout下的所有buffer

因为很多时候需要在多个项目下切换,我平时都是用 spacemacs/ivy-persp-switch-project 根据项目创建 layout。 当项目修改完毕后,我想闭关当前的 layout,并且想同时关闭当前 layout 相关的 buffer,请问 emacs 有类似的功能提供吗

@zilongshanren 子龙山人,请问 emacs 有类似的功能吗?还是得自己实现?

spc l d, spc b D ?

好像不能满足我的需求!

SPC l x, means “kill current layout with its buffers”. Doc is here.