Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NERDTreeToggleVCS not working as expected #1100

Closed
mversic opened this issue Apr 12, 2020 · 0 comments · Fixed by #1101
Closed

NERDTreeToggleVCS not working as expected #1100

mversic opened this issue Apr 12, 2020 · 0 comments · Fixed by #1101
Labels

Comments

@mversic
Copy link

mversic commented Apr 12, 2020

I position myself in the project directory (directory containing .git) through the shell and then open some file inside project directory.

  1. enter :NERDTreeToggleVCS and get NERDTree file explorer with all directories collapsed.
  2. navigate with <j,k> and expand some of the directories
  3. enter :NERDTreeToggleVCS to close NERDTree file explorer
  4. enter :NERDTreeToggleVCS to open NERDTree file explorer again

What happens in the step 4. is that all directories are collapsed again as if I entered NERDTreeVCS

Documentation states that NERDTreeToggleVCS behaves as NERDTreeToggle and therefore In the step 4. I would expect that all expanded directories bellow the project directory are preserved and only directories above project directory get collapsed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant