"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 15/08/2006 (11:22) : > let save_paste = &paste > if ! &paste > set paste > endif > " > " do your stuff > " > if ! save_paste > set nopaste > endif
Thanks. This works, but I got other side effects with indentation so in the end I had to rewrite the function to insert header and footer. Preben