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.
我知道有 NERDTree 和 NERDTreeToggle,
但是我想要的功能是:
如果没有NERDTree窗口,弹出一个如果已经有,切换到NERDTree窗口
谢谢!
只需使用 NERDTree 命令。除非我错过了你想要的东西,否则它似乎为你做这件事。您可以直接在 vimscript 中使用自定义和内置命令。例如。
function NerdyFoo() echo "FooBar" NERDTree echo "Wibblybits" endfun :call NerdyFoo()