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 ) id 1Pirpp-0001TL-Nk for garchives@archives.gentoo.org; Fri, 28 Jan 2011 17:10:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76D95E01C9; Fri, 28 Jan 2011 17:08:26 +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 363D2E01C9 for ; Fri, 28 Jan 2011 17:08:25 +0000 (UTC) Received: by pwj6 with SMTP id 6so1517773pwj.40 for ; Fri, 28 Jan 2011 09:08:25 -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=phLA4it3oSHe8SkS0g5BCBQ5b2gdJw2W7AD9fskZfkA=; b=rcLFLs8Vr9TEo5hdI3eb7GSsOhHn91gz7IM8H9R2o+Uz0KRBRAxgdSRMNgqFpsltPP 5VeiIRmIKqpCfqpE4OIxo4ReZbwaHdbwSZZduOXXn0dbjj4AujfB+ppoH/fLa/3HBOSN xJ3CPABMcpGwNV2paaBKVpECcQzWkrdBWHfqo= 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=B4cl93WA5F+4aVm5WlBBX9KpoFiT6rmtcrvXLT3PGzDLDD8R8hPUG774kZRr5FCDPG 9yFwqi3SGRWHAtuIztWQy1j9dwbmexJTkQ5lqGz+1YzhjC7cTzjRKmacM+r5+BLRUcGL 5iWjwOQF/OZvJAhd0HWgI/X+bFWqBfyoGAO7E= Received: by 10.142.158.14 with SMTP id g14mr3380964wfe.216.1296234505360; Fri, 28 Jan 2011 09:08:25 -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 w14sm23544131wfd.6.2011.01.28.09.08.24 (version=SSLv3 cipher=RC4-MD5); Fri, 28 Jan 2011 09:08:24 -0800 (PST) Message-ID: <4D42F807.6060408@gmail.com> Date: Fri, 28 Jan 2011 09:08:23 -0800 From: Bill Longman 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: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: <20110127205345.GA22926@ksp.sk> In-Reply-To: <20110127205345.GA22926@ksp.sk> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: c928c9b14ab2da16949ee7bbbefaf8de On 01/27/2011 12:53 PM, YoYo Siska wrote: > BTW, if > - vim has access to X (you run it on your local machine or from > ssh -X or something similar) > - is compiled with X support (check with vim --version | grep +X11) > - and you :set mouse=a > then you can paste by middle clicking in vim (not shift-middle click), > which should paste the text as is... > > The difference is that with shift-middle click, or with vim that cannot > talk to X, the terminal sends the selected text to vim as normal input > (as if you would type it) and thus its get indented/formated/etc.. > > If you have mouse=a set and vim can talk to X, when you middle click > it will ask X for the selection and insert it as is without any > formatting Oooh, aaah. Fireworks. This one's going into my .vimrc file....