On Tue, Aug 27, 2019 at 10:54 AM Eliza <
e...@chinabuckets.com> wrote:
>
> yes. The first time I used "set noautoindent" but found not much useful.
> Then I searched and found "set paste" which did work fine.
> How to setup it by global? thanks.
You shouldn't set it permanently, because it has a lot of
side-effects: it sets a lot of options to off or to 0, and in
addition, in 'paste' mode, mappings don't work.
What you can do is ":set paste" just before pasting and ":set nopaste"
afterwards. Or use a 'pastetoggle' as explained in the help.
Best regards,
Tony.