Skip to content

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

@poetaman

Description

@poetaman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions