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 16054
 
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
 
- To: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
 
- Subject: Re: Substituting grep (and other) output to open files in Vim
 
- Date: Fri, 27 May 2011 17:09:19 +0200
 
- Cc: Jérémie Roquet <arkanosis@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=ojDJomHcL5bD0ztzrdxpAh/idGm3EWnorfNdPhc3Te0=;        b=D9bgSMUYXrmfyACCdkAiY25XFdpx3R2rmTmHW/KK3wCoMQNzT53mzQiEZw1bgdePje         xGDIy+3mq6KC6p7IaFldrWIM6IscAjK9ZPnPaMz97tACJt38IlerDnQvp7qB4QMsFAG+         GMOXJiOpiwKUv3voUVjKf58Ibak2Vj/UL3HLM=
 
- 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=CRobfw6hQJkCO+SfLihwfG7PLGXpvBuQwTBhem6KjjKG4A1+17UZbnrpxRg+SkCbX6         mBzjrpsV87Mi34+vvRmI43U3jB4HgIgJYVuN5GU/mNE3xkM/dJ8S11fZzFVcuH9wHg8K         T+vVuslEtFB5OLBLG9lQLaQKlwI5vaJFHr0hM=
 
- In-reply-to: <BANLkTinJXkWFMiw4Y00dHQvQ6vqQ8F1Z-w@mail.gmail.com>
 
- 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> <BANLkTik0-EfNso_Qu_rHZBS=6z_Zo9cs_g@mail.gmail.com> <BANLkTinJXkWFMiw4Y00dHQvQ6vqQ8F1Z-w@mail.gmail.com>
 
2011/5/11 Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>:
> Nice.  Let's improve that so that it is possible to specify multiple
> files and/or options and files (though we don't give anything but a
> single arg special treatment) and also to avoid a "parameter not set"
> error for folks that like to run interactively with "setopt no_unset":
FWIW, I have been using this all the time now. I love it :)
I just noticed one regression when compared to Jérémie's version:
  vim foo:123:abc
does not act like
  vim foo +123
Thanks to everyone for the help,
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author