From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16485 invoked by alias); 10 May 2011 22:35:03 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16020 Received: (qmail 29090 invoked from network); 10 May 2011 22:35:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.210.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=p4Cryf23HeikYjdec276YNNKFKNosOJdmjFc0SHI/vQ=; b=mj5PnlFNY4ln8Wj2vMV3SZYjnotqy4Q3G2RX2+vZdcX31quu+bPjIrZNfbyQxJ+PPq K0FCOla2PK8a39/IjhB7n7GEXfoHCaGKpSXbsAo3x4+4E2VMFWkvj/VDMMp7tl6LUlzA X2GUb2OcngLu+EHWqbgmuX50VHXE/Qu+TukeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=n5zDhLdt8eDeqhT/dcV+b1dO9xUuvo3qhHdCe2Lgz49QUjdsFWJpnIeEaxqdCIpi8c /BcZXgSLLwJNMU+CNi6dru35oQ9HKCUUk5OwRNQRmrpOp2SfP5efLMBOmwx+JLDgIIB2 R1VsoSP04XRGrUVoWGo5yr0oMdkvLVT3nHiwM= MIME-Version: 1.0 In-Reply-To: References: From: Richard Hartmann Date: Wed, 11 May 2011 00:27:16 +0200 Message-ID: Subject: Re: Substituting grep (and other) output to open files in Vim To: "Benjamin R. Haskell" Cc: Mikael Magnusson , zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, May 10, 2011 at 20:58, Benjamin R. Haskell wrote: > Okay. =C2=A0The reason I asked, and it's validated by the responses, is t= hat > maybe you can handle this functionality at a different layer than Zsh. On any given day, I am using Yakuake and Terminator. Every other day, Konsole as well. At least once a week ttys & gpm. Doing this outside of zsh is not an option ;) > 1. highlight text w/ mouse > 2. Ctrl+right click > 3. pick the "launch in vim" option (provided by a hypothetical Perl > extension) If that works for you, great! Personally, I don't like to touch the rodent more than necessary and right-clicking and selecting an option takes longer than typing a few commands. > Or, you could run `make` from within Vim itself which already handles a l= ot > of these type of problems. =C2=A0(That one really depends on the workflow= and/or > source.) Does not work for grep etc. > Not really trying to dissuade you from the pretty-straightforward Zsh > solution. =C2=A0Just wanted to point out some possibilities (and double-c= heck > that it wasn't as simple as the array-vs.-string thing). Aye; thanks :) Richard