打开文件时自动关闭NERDtree


20

我已经安装了NERDtree 4.1.0。

我已映射<leader>n:NERDTreeToggle<CR>

我想以某种方式使用它<leader>n,然后按,然后在资源管理器中找到所需的文件,按Enter键,并使NERDtree资源管理器自动再次消失。

有人可以帮我弄这个吗?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.