>    call append(6, map(readfile('/tmp/chosenfiles'), '"Attach: 
>".substitute(v:val,''\s'',''\\ '',"g")'))

Sorry, this wasn't correct. But I think the following line should do it.
        call append(6, map(readfile('/tmp/chosenfiles'), '"Attach: 
".substitute(v:val,''\(\s\)'',''\\\1'',"g")'))

But who uses file names with tab characters?

Reply via email to