Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我:bd在 NERDTree 窗口,我无法通过关闭 NERDTree 窗口并重新打开它来加载它:它仍然是空的。
:bd
如何解决这个问题?:bd理想情况下,我不想将此缓冲区中的任何操作归因于,但适当的重新加载快捷方式可以做到。
即使:NERDTree在:bd. 也许其他一些设置导致它重新打开空?
:NERDTree
如果要:bd在 NERDTree 缓冲区中禁用,autocmd请在 .vimrc 中使用:
autocmd
autocmd FileType nerdtree cnoreabbrev <buffer> bd <nop>