lusty icon indicating copy to clipboard operation
lusty copied to clipboard

problem when the file path has spaces

Open angelidis opened this issue 12 years ago • 1 comments

hi, this is a great plugin, but i have the following problem:

I am in windows, and when i try to open files from filepaths with spaces it doesn't work correctly.

for example assuming i am editing file1.txt and i try to edit file2.txt from the same directory: C:\Users\username\folder1\folder2\file path with spaces\file2.txt

by pressing

:LustyFileSystemExplorerFromHere

and then file2.txt

i get: /users/username/folder1/folder2/file/ path/ with/ spaces/file2.txt

which isn't the correct path.

I think i should be getting: /users/username/folder1/folder2/file\ path\ with\ spaces/file2.txt

kind regards, Nicholas

angelidis avatar Apr 02 '13 16:04 angelidis

Hmm, this used to work right. It's not easy for me to test on Windows, but I'm happy to accept a patch.

sjbach avatar Apr 04 '13 02:04 sjbach