You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I <3 NERDTree; however, my memory falls short most of the time when trying to remember which tabs I have opened. Or even worse, I get lazy eyeballing and verifying if a certain tab is already open.
When I select a file in NERDTree and press t to open it in a tab, I realize I have now two tabs open that are pointing to the same file. For example.
| Foo.txt | Bar.txt | Foo.txt |
If one also wants this for double clicking files (when configured to open in tabs), add the following line to that file (right after the first): call NERDTreeAddKeyMap({ 'key': '<2-LeftMouse>', 'callback': 'NERDTreeMyOpenInTab', 'scope': "FileNo de", 'override': 1})
I <3 NERDTree; however, my memory falls short most of the time when trying to remember which tabs I have opened. Or even worse, I get lazy eyeballing and verifying if a certain tab is already open.
When I select a file in NERDTree and press t to open it in a tab, I realize I have now two tabs open that are pointing to the same file. For example.
| Foo.txt | Bar.txt | Foo.txt |
This was also documented on stack overflow
http://stackoverflow.com/questions/27172873/vim-nerdtree-how-to-prohibit-duplicate-files-in-tabs
It would be really cool if NERDTree would switch to the existing tab.
This issue if solved, will shutdown all NERDTree haters especially them oil-vinegar, ctrl-p netrw trolls.
The text was updated successfully, but these errors were encountered: