Nerdtree - 保存打开目录的状态 [英] Nerdtree - save state of opened directories

查看:28
本文介绍了Nerdtree - 保存打开目录的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对我来说一个典型的工作流程是打开 Vim(准确地说是 MacVim),这样做:

A typical workflow for me is opening Vim (MacVim to be precise), doing:

:NERDTree <bookmark>

然后手动打开我想使用的各种子目录.通常它与我上次处理项目时打开的目录集相同.我知道 O recursive-open 命令,但如果它是一棵大树,那么我必须去关闭它们以清除屏幕.

then manually opening various subdirectories I want to use. Often it's the same set of directories I had open when I was last working on the project. I'm aware of the O recursive-open command but if it's a large tree I then have to go and close a load of them to clear the screen up.

有没有办法保存那些打开的/一般的状态"?

Is there any way of saving the ones that are open / the general 'state'?

推荐答案

不幸的是,目前在 NERDTree 中还没有办法做到这一点.但是,如果您觉得该功能值得关注,您可以自己添加在 GitHub 上提交请求,它很快就会提供给您.

Unfortunately, there is no way to do this in NERDTree - yet. If you feel like the feature deserves attention, however, you can add it yourself or submit a request for it on GitHub, and it will be available to you soon.

我冒昧地亲自提交了功能请求;您可以在此处跟踪其状态.

I took the liberty of submitting the feature request myself; you can track its status here.

这篇关于Nerdtree - 保存打开目录的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆