On 5/19/07, Maciej Kalisiak <[EMAIL PROTECTED]> wrote:
Hello fellow Vimmers,

Can any of you that work on Windows tell me how you handle filename
completion (C-X C-F) for paths that contain spaces?  I love this
completion method, but as soon as I get to C:\Document and Settings\,
it "stops working", because of course a space character is not in
'isfname' (so it tries to complete just "Settings"), and putting it in
makes no sense (Vim won't know where the path starts).  How do you
deal with it?  Or is there simply no hope?

I think you can add space to isfname, but then you need
to make sure your pathnames are all either (1) double-quoted, or
(2) surrounded by some other char that can't be in the pathname, like '|',
or (3) are on the line by themselves. Maybe there are other solutions.

Yakov

Reply via email to