"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 15/08/2006 (10:59) :
> 
> Have you tried ":set paste"? Or rather, since it's inside a function,
> 
>       let save_paste = &paste
>       set paste
>       "
>       " do your stuff
>       "
>       if ! save_paste
>               set nopaste
>       endif


No, I haven't tried it. I saw that it reset a lot of other options. Will
all these options be set back to the original options when I call
nopaste?

Preben

Reply via email to