Nerdtree - save state of opened directories

后端 未结 2 593
感情败类
感情败类 2021-02-07 07:37

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

:NERDTree 

then manually opening various subdirectories

相关标签:
2条回答
  • 2021-02-07 08:08

    Sure just save the session with ":mksession ~/mysession.vim". ":mks" works too. Then just source the file and there you go.

    0 讨论(0)
  • 2021-02-07 08:17

    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.

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

    0 讨论(0)
提交回复
热议问题