sjbach / lusty

LustyExplorer / LustyJuggler for Vim
http://www.vim.org/scripts/script.php?script_id=1890
257 stars 30 forks source link

problem when the file path has spaces #91

Open angelidis opened 11 years ago

angelidis commented 11 years ago

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

sjbach commented 11 years ago

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