Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Substituting grep (and other) output to open files in Vim



On Fri, May 27, 2011 at 8:09 AM, Richard Hartmann <
richih.mailinglist@xxxxxxxxx> wrote:
>
> vim foo:123:abc    does not act like    vim foo +123
>

Twiddle the "== 2" line to use "-ge 2":

        [[ $#args -ge 2 && $args[2] == <-> ]] \

That'll fix that right up.

..wayne..


Messages sorted by: Reverse Date, Date, Thread, Author