On Tue, Mar 01, 2005 at 05:45:08PM -0500, A. Khattri wrote:
> I usually do
> 
> :set noautoindent
> 
> from within vi when I need to paste in insert mode.

In vim at least, I believe 

:set noai

also works as a nice short hand. 
Another nice command is

:set paste

which implies noai but also prevents line wraps, which, although not a
problem in C, could cause a LOT of pain in shell scripts. 

W
-- 
----------------------------------------------------------------
*   Address:  45 Spelman Hall, Princeton University  08544     *
*     Phone:  x68958                  AIM:  AngularJerk        *
*    E-mail:  [EMAIL PROTECTED]    From:  sep.dynalias.net   *
----------------------------------------------------------------
"`Er, hey Earthman...'
`Arthur,' said Arthur.
`Yeah, could you just sort of keep this robot with you and 
guard this end of the passageway. OK?'
`Guard?' said Arthur. `What from? You just said there's no 
one here.'
`Yeah, well, just for safety, OK?' said Zaphod.
`Whose? Yours or mine?'"

- Arthur drawing the short straw on Magrathea. 
Sortir en Pantoufles: up 6 days, 14:42
--
gentoo-user@gentoo.org mailing list

Reply via email to