我在Vim 7.4 中使用fholgado 的MiniBufExplorer 插件的分支。我想在我的地图中设置一个地图.vimrc
来删除/关闭所有打开的缓冲区,但我尝试过的都没有奏效。
例子:
nmap <leader>bda :MBEbd 1,1000<cr>
nmap <leader>bda :1,1000 MBEbd<cr>
从插件的文档中:
:MBEbd[!] [N1] [N2] ... *:MBEbd*
Delete buffers but preserve the window that holding them.
[N*] is the buffer's number or name to be deleted. If no [N*] is given,
then current buffer will be deleted. Multiple buffers could be deleted
at the same time.
知道我怎么能做到这一点吗?