ctrlp.vim icon indicating copy to clipboard operation
ctrlp.vim copied to clipboard

Error if there is space in directory name or path

Open poetaman opened this issue 3 years ago • 1 comments

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

poetaman avatar Jan 28 '21 04:01 poetaman

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

PMunch avatar Feb 04 '21 19:02 PMunch