Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Substituting grep (and other) output to open files in Vim
- X-seq: zsh-users 16020
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: Substituting grep (and other) output to open files in Vim
- Date: Wed, 11 May 2011 00:27:16 +0200
- Cc: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-users@xxxxxxx
- 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=
- In-reply-to: <alpine.LNX.2.01.1105101422470.28316@hp>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <BANLkTik+65NedRoVNJMgj9+Oma_XDmz8dA@mail.gmail.com> <alpine.LNX.2.01.1105101119570.28316@hp> <BANLkTinBSbTUF70SmVuPi22bKLOqqOK=JQ@mail.gmail.com> <BANLkTi=ZWhzwPxwifvPrB24BvQa1S+rUew@mail.gmail.com> <alpine.LNX.2.01.1105101422470.28316@hp>
On Tue, May 10, 2011 at 20:58, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> Okay. The reason I asked, and it's validated by the responses, is that
> 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 lot
> of these type of problems. (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. Just wanted to point out some possibilities (and double-check
> that it wasn't as simple as the array-vs.-string thing).
Aye; thanks :)
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author