[plug] vi(m): inserting with hanging indents

Colin Muller colin at twobluedots.com.au
Wed Aug 21 08:56:27 WST 2002


On Wed, Aug 21, 2002 at 07:30:25AM +0800, ryan at is.as.geeky.as wrote:
> The recent vi(m) discussion reminded me of a question:
> 
> Is there a way to temporarily turn off the hanging indent feature so as
> to allow indented text to be pasted without it running off into the
> sunset?

Should do it:
:set noautoindent
(typing 'set noauto' and pressing Tab should get you that)

Turn autoindent back on with:
:set autoindent
(again, just type 'set auto' and press Tab)

Colin



More information about the plug mailing list