Open matjon opened 9 years ago
This is probably caused by the fact that all NERDTree windows have the same name "NERD_tree_1". That name apperas in session.vim multiple times.
NERDTree uses different buffer names for every instance: "NERD_tree_1", "NERD_tree_2", etc. (this is done in lib/nerdtree/creator.vim - s:Creator._nextBufferName() ). Nerdtree-tabs breaks it.
This bug could be probably replicated with native NERDTree - when I do
:NERDTreeMirror :NERDTreeMirrorOpen
I have the same buffer in two tabs.
I have run into this error as well and it's pretty annoying. Right now I am working around it by closing NERDTree before doing mksession.
Same error. @mhinton 's workaround works for me
Hello, When I have NERDTreeTabs open and I save a session (through :mksession or :SessionSave from vim-session) and then I try to restore it, strange things happen.
Steps to reproduce:
Open some files in vim:
vim -p file.txt nohup.out .xsession-errors
I get the following errors (I have translated the error messages manually):
and I have an additional buffer on every tab.