ctrlp.vim
ctrlp.vim copied to clipboard
Error if there is space in directory name or path
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:
- system: macOS 11.1, ARM
- python: Python 3.9.1
- vim: VIM - Vi IMproved 8.2 (Included patches 1-2400)
- vim features: +python3, -python
I'm faced with the same issue on my Linux machine, with Vim 8.2 and fully updated plugin.