Closed mhartington closed 9 years ago
after getting fail, could you try to type :pwd
?
I get the same error using Macvim. When I check the directory with pwd
, it's the same directory as before.
hmm, I can't reproduce it.
if you use find instead of ag, you'll get same?
after getting fail, could you try to type :pwd?
This does return the correct path.
if you use find instead of ag, you'll get same?
If I use the built in search from ctrl-p, it produces the same error.
If I use the built in search from ctrl-p, it produces the same error.
your vimrc seems having some settings that affect to ctrlp maybe. could you figure out which settings is wrong?
After stripping down my vimrc and trying things one at a time, I've localized the error to one plugin: the vim-devicons plugin. @mhartington do you also have this plugin enabled?
When I disable that plug-in, the bug goes away. Also, it looks like they recently added Ctrl-P support in this commit, which is maybe what is causing the bug.
Looks like the vim-devicons folks already know about the bug: https://github.com/ryanoasis/vim-devicons/issues/80
Yep this is totally ryanoasis/vim-devicons#80 , there is a workaround as @nirum mentioned.
I have yet to replicate this personally but now multiple people have run into this so it should not be too hard to replicate, i'll need to redouble my efforts :blush:
Apologies :worried:
@mhartington, @nirum this should be properly fixed now in https://github.com/ryanoasis/vim-devicons let me know if pulling latest v0.5.1 version resolves for you
@nirum thanks for the cross project reference
Looks good to me. Thanks @ryanoasis
works for me too. thanks!
In neovim and vime, I'm getting this odd issue
If you try to open a file, it will cut the path name, so
"js/angular/controller/headerBarController.js" [New DIRECTORY]
becomes
"ular/controller/headerBarController.js" [New DIRECTORY]
Not sure if this is known. Here is the configuration for ctrlp in my
.nvimrc