kien / ctrlp.vim

Fuzzy file, buffer, mru, tag, etc finder.
kien.github.com/ctrlp.vim
7.26k stars 677 forks source link

Error if there is space in directory name or path #796

Open poetaman opened 3 years ago

poetaman commented 3 years ago

If I open vim in some directory that has a space in its name or some of its parent directory's name then ctrl-p gives this error (that shows an example dir name):

Error detected while processing function ctrlp#init[31]..<SNR>142_setlines_post[6]..ctrlp#files[8]..<SNR>142_GlobPath:
line    3:
E484: Can't open file /Users/<username>/Desktop/temp/temp\ l21

Relevant information:

PMunch commented 3 years ago

I'm faced with the same issue on my Linux machine, with Vim 8.2 and fully updated plugin.