On 24Oct2011 17:04, Volker Bouffier <volkerbouff...@yahoo.de> wrote: | > You can even do it in one step ;) | > | > :call append('.', map(readfile('/tmp/foobar'), '"Attach: | > ".substitute(v:val," ",''\\ '',"g")')) | This seems to be perfect. So here is my final .vimrc script:
I expect it to break with tabs etc in the filename too. -- Cameron Simpson <c...@zip.com.au> DoD#743 http://www.cskk.ezoshosting.com/cs/ It is the cunning of form to veil itself continually in the evidence of content. It is the cunning of the code to veil itself and to produce itself in the obviousness of value. - Baudrillard