From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-119372-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Pix3f-00060H-Tp
	for garchives@archives.gentoo.org; Fri, 28 Jan 2011 22:44:48 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 59DE9E0AA3;
	Fri, 28 Jan 2011 22:42:56 +0000 (UTC)
Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 1A495E0AA3
	for <gentoo-user@lists.gentoo.org>; Fri, 28 Jan 2011 22:42:55 +0000 (UTC)
Received: by pwj6 with SMTP id 6so1619160pwj.40
        for <gentoo-user@lists.gentoo.org>; Fri, 28 Jan 2011 14:42:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        bh=98TXEpLD5/hygQgX1eYfaulF1VzYqnTquU4fD5txotE=;
        b=k66MFmSnXdwnpIZ2hU8MGnpj9U+DHrP1CNewEh5CDF06gF8Hdv5UhjaardXr0hGWan
         pUqGdbsQwMbuqiODUbiqY+dIlJE6VIV+nJJGm/9cAkv/1p+d85B726Vy2ieVpYWHVFCw
         71oGf0wP83SMFXrJMwWrB6m7etVTKqvYX3CM0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        b=CWEX5uEsIFftDvgdVJHl5ZjAPuuRySXIXI+OS3TV6VDFPaUcihWZQ2qwg7kTMHOTMV
         cVG8ZDVLJhm0hbnxu2qrcLVV8jsY/P2+CngztwwO3NrFBZ66p2Y5xQ7Ma6/DA+KTdo/7
         bKbpblHCPytb60VitrdC7zgq9jFmB3Li+0POE=
Received: by 10.142.216.17 with SMTP id o17mr3605819wfg.406.1296254575464;
        Fri, 28 Jan 2011 14:42:55 -0800 (PST)
Received: from [192.168.25.20] (173-8-195-225-Oregon.hfc.comcastbusiness.net [173.8.195.225])
        by mx.google.com with ESMTPS id f5sm14102781wfo.4.2011.01.28.14.42.54
        (version=SSLv3 cipher=RC4-MD5);
        Fri, 28 Jan 2011 14:42:54 -0800 (PST)
Message-ID: <4D43466D.2040602@gmail.com>
Date: Fri, 28 Jan 2011 14:42:53 -0800
From: Bill Longman <bill.longman@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110119 Lightning/1.0b3pre Lanikai/3.1.7
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Paste into vim keeping indention or original?
References: <AANLkTi=LXA_RdXPrbJYrnwJQAtF5ZZfEh=1r-20Zx5e4@mail.gmail.com> <AANLkTikkW-ABB9kHbLTvPKsGRih+C+-5NVuwo=8ekz=-@mail.gmail.com> <AANLkTinWQWRRtvYHstJ7BLFkS4h=CPQFxkX3CDodT7eC@mail.gmail.com> <20110127205345.GA22926@ksp.sk> <4D42F807.6060408@gmail.com> <4D432105.3000904@badapple.net>
In-Reply-To: <4D432105.3000904@badapple.net>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 
X-Archives-Hash: de52491addb4ac1f1da3c73f8a8d732a

On 01/28/2011 12:03 PM, kashani wrote:
> 
> You might like one too.
> 
> cmap w!! w !sudo  tee % >/dev/null
> 
> When you forget to sudo vi you can use w!! which pipes writing the file
> though sudo. You get some term gunk, but it does work.

That's what "screen" and PS1 are for....