Subject: Re: is vi(1)'s autoindent the right default behaviour?
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 05/09/2005 09:25:36
--G9m07da55tKJni3T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, May 08, 2005 at 03:04:12PM -0400, Greg A. Woods wrote:
  | (though I myself usually remember to turn off auto-indent when I do a
  | cut&paste into an editor running in an xterm window, and if not then I
  | can still use undo and try again.... ;-)

I find it quicker to do:

	:r! cat /dev/tty
	[paste here]
	^D

than to toggle ai (autoindent) off & on.

I think I've even got a macro for that...

--G9m07da55tKJni3T
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCfp/wpBhtmn8zJHIRAhRyAKDAOyN4gnV3bOKIkg9+fTUgyNcw4QCeLcsm
vKSjN9nRdRGS0xPQUuSJjcU=
=mIf6
-----END PGP SIGNATURE-----

--G9m07da55tKJni3T--