-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
FuzzyOpen changes the working directory of vim to the the parent dir of the file #10
Comments
I can't reproduce this. Are you inside a .git repo or not? |
I am in a git repo On Wednesday, October 26, 2016, Alexis Sellier notifications@github.com
|
I have encounter a weird issue that can be related: some times all the filesystem files disappear from the fuzzy list and only the open buffers remain. I have tried to isolate when it happens without luck. |
I've had this issue, and on my side it had to do with my |
@cloudhead how is called that temporary file? I would like to help debugging this (and hopefully send a pull request). I think @bbatha problem is the same. |
I checked my machine, my /tmp dir has several GB free. I also set my vim's tmp dir through |
@tssm what makes you think it's the same problem? The temp file name is always different, but you can get an idea by running:
in nvim. |
Just a hunch. I don't know if @bbatha has checked |
I'm actually seeing the same behavior as @tssm my |
Can you both check if the problem exists with the
This branch is reset to an older commit which doesn't base your search path on whether or not you're in a git repo. I suspect that could be what is causing the problem. |
Also I forgot to ask, what is shown in the fuzzy open status bar? The correct search dir or the incorrect one? ie:
|
And finally, is anyone of you using |
@cloudhead just installed the plug-in from the
|
@cloudhead same issue on |
@cloudhead just realized that the smaller status line is part of the |
In the current master branch, the status bar shows the search root, since the search root is not necessarily your pwd, it could be for instance the git root if you're in a repo. In the noroot branch, this feature does not exist, and hence the search root is always the pwd, so nothing is shown on the status line. So from what I understand, the issue you're having is not related to that feature, since you're having it with the noroot branch too. That narrows things down! |
Yep, it occurs on |
@cloudhead I think I found the problem (in both |
I can't seem to reproduce on either branch any more. I'm wondering if one of my other plugins caused the issue. Edit: I stand corrected I still see the issue. I did not use Perhaps a hacky solution is to look in a parent dir for a |
@tssm great, will see if I can reproduce! |
I haven't been able to reproduce, but I've recently run into another issue, and I'm wondering if there's a chance they are related: it happens when netrw is used, for example by using |
@cloudhead yeah, I have seen a similar behavior using FileBeagle (a netrw replacement) but seems to be random... |
I can reproduce this behavior with vim-signify enabled. |
I think since one of the last commits I haven't experienced this behavior again. At least not that often. Can someone else confirm? |
In a recent patch I fixed an issue when the quickfix list is open, so it might have been the same bug. |
Yeah, that's what I thought when I saw the git log. Anyone else can confirm? |
I'll close this for now. |
This recently started happening to me. I red the comments on this issue and found out that it stops happenning when I disable the |
This problem is present if you have |
I'm guessing that the problem is caused by the use of the |
Opening a file is now changing the cwd of vim or fzy such that subsequent uses of FuzzyOpen only search the folder the last file was found in.
The text was updated successfully, but these errors were encountered: