Received: by 10.50.169.33 with SMTP id ab1mr6187552igc.1.1331829957331; Thu, 15 Mar 2012 09:45:57 -0700 (PDT) X-BeenThere: vim_use@googlegroups.com Received: by 10.231.42.100 with SMTP id r36ls5267848ibe.2.gmail; Thu, 15 Mar 2012 09:45:48 -0700 (PDT) Received: by 10.50.154.231 with SMTP id vr7mr6608144igb.2.1331829948191; Thu, 15 Mar 2012 09:45:48 -0700 (PDT) Received: by 10.50.154.231 with SMTP id vr7mr6608143igb.2.1331829948181; Thu, 15 Mar 2012 09:45:48 -0700 (PDT) Return-Path: Received: from boston.accountservergroup.com (boston.accountservergroup.com. [50.22.11.22]) by gmr-mx.google.com with ESMTPS id hq2si582332igc.3.2012.03.15.09.45.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 09:45:48 -0700 (PDT) Received-SPF: neutral (google.com: 50.22.11.22 is neither permitted nor denied by best guess record for domain of v...@tim.thechases.com) client-ip=50.22.11.22; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 50.22.11.22 is neither permitted nor denied by best guess record for domain of v...@tim.thechases.com) smtp.mail=...@tim.thechases.com Received: from ppp-70-251-85-51.dsl.rcsntx.swbell.net ([70.251.85.51] helo=[192.168.1.12]) by boston.accountservergroup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1S8DoB-0000yJ-Gw; Thu, 15 Mar 2012 11:45:47 -0500 Message-ID: <4F621CD6.8070509@tim.thechases.com> Date: Thu, 15 Mar 2012 11:46:14 -0500 From: Tim Chase User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: shawn wilson , vim_use Subject: Re: deselect select area References: <4F61F980.2050000@tim.thechases.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - googlegroups.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Source: X-Source-Args: X-Source-Dir: On 03/15/12 10:48, shawn wilson wrote: > On Thu, Mar 15, 2012 at 10:15, Tim > Chase wrote: >> On 03/15/12 08:43, shawn wilson wrote: >>> often, i want to indent every line except two or three >>> lines somewhere in the middle of the selection. >> >> :'<,'>v/pattern_to_find_lines_to_ignore/sil!> > > thanks, that works (not as good as what i was hoping - a key > to press to stop select and then re-enable select but it's > better than my alternative :) ). It's actually better than disjoint-selection for many of my use-cases. I can just make up patterns (as there's usually some textual commonality between the lines I want to skip/find) and Vim does the work for me. With disjoint selections, I would have to mark each one manually--sometimes this is a couple hundred sections in my use-cases. :-) -tim