Closed Mte90 closed 5 years ago
Is this what you have?
foo/
+- .git/
+-folder/
| +-file.php
+-file2.php
And you are saying when you do cd foo && vim folder/file.php
or cd foo/folder && vim file.php
vim-rooter doesn't set the working directory to foo
?
I can't reproduce the problem.
Your configuration looks fine.
At what commit is your installation of vim-rooter?
I am using the latest version and this is my full vim configuration file https://github.com/mte90/my-scripts/blob/master/vim/vimrc
But I understand the issue, seems that when I pick the files from Startify rooter is not executed https://github.com/mhinz/vim-startify. If I run nvim from a file in a subfolder is working fine.
After looking a bit seems that from the command line the path is right but not in Nerdtree. Sorry for the disturb, I have to see how update the path in nerdtree
Right now rooter set the folder only if it is the parent but not if I run vim and the file that I open it is subfolder.
Let me explain:
If I run vim with the file2.php the path is right but if I open file.php it isn't. I am configuring it badly maybe?