Nerdtree: A bug with NERDTreeCascadeOpenSingleChildDir

Created on 6 Feb 2016  路  10Comments  路  Source: preservim/nerdtree

Steps to reproduce:

  • create the folder 'A' in some directory
  • create the subfolder 'B' in the folder 'A'
  • create the file 'file.txt' in the folder 'B'
  • open 'file.txt' from the GUI file manager with Vim
  • in Vim open NERDTree, you should see '/some directory/A/B/' as a tree root
  • select '.. (up dir)'
  • then select '.. (up dir)' one more time
  • now try to open the 'A/B/' node in NERDTree

It appears that the node cannot be open again from now.

bug

Most helpful comment

Very annoying. I'm trying to disable cascade altogether, but it seems there is no way.

All 10 comments

Very annoying. I'm trying to disable cascade altogether, but it seems there is no way.

Now it is needed to press 'C' - (change tree root to the selected dir) + Enter to be able opening such a directory.

I am having the same issue. I went back to NerdTree 4.2 for now which works fine.

Click "x" key map(close parent of node) on the line of 'file.txt' will also reproduce this bug @scrooloose .

Add a gif
tty

@juanibiapina , does your PR #558 solve this issue?

It doesn't sove the issue at all. It only adds the option to deactivate the feature that has the bug.

I have the same issue.

This is a confirmed bug. The same as in issue #526. A fix is in progress.

ANNOUNCEMENT: Everyone experiencing this bug can try the fix in pull request #720. It should repair this problem without any side effects. The code is currently under review.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kristijanhusak picture kristijanhusak  路  3Comments

nicknisi picture nicknisi  路  5Comments

Coleej picture Coleej  路  3Comments

jgandt picture jgandt  路  4Comments

NikosEfthias picture NikosEfthias  路  3Comments