Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Qmail-Scanner-Diagnostics: from mail-lf0-f46.google.com by f.primenet.com.au (envelope-from <schaefer@brasslantern.com>, uid 7791) with qmail-scanner-2.11 
 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1.  
 Clear:RC:0(209.85.215.46):SA:0(0.0/5.0):. 
 Processed in 0.135427 secs); 25 Jul 2016 16:47:51 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID
	autolearn=unavailable autolearn_force=no version=3.4.1
X-Envelope-From: schaefer@brasslantern.com
X-Qmail-Scanner-Mime-Attachments: |
X-Qmail-Scanner-Zip-Files: |
Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-transfer-encoding;
        bh=GD9hS6SFdaSVjEZ4BGNck/Unvxl1GieNtXjYUjmPSyw=;
        b=TQqFyUJ30+3CudDgnsdbLb07fBd08bDl3o6ytTODQWj40BTJj79tl+UhJ0AjN1Jmlu
         +nCj5OR/kj23q4wh2vAWEI1hviRH9IifnojMgH2vl4kt0RBUdzd37LBPRFIRIaOQOPGi
         iL8hKjcyGPIiEJu05tT46eJbWFcZ5sVT8mGtMMJ5hD4+0beUHpJqTJxgBDSlk55ipQd2
         URmwJ2Ro3v1YgWd1C5cZ1inp8dxc2IEg6yApk06aG6Tp66YoEGx+RjGs59SlMflK9v8m
         ZT/b0GLu0t2q9gZNFEIP0ZEazyhn5k6wtcSggB3ltsH2Fon8vV7mXjm9m5k+JdSShzAG
         ilyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc:content-transfer-encoding;
        bh=GD9hS6SFdaSVjEZ4BGNck/Unvxl1GieNtXjYUjmPSyw=;
        b=K81I6V0Nu8U5dk6Ja3u3HFQngcFJiqBFoN+hjnNEXlBlIrJ72LT85ZqQR5MABz1F9D
         3b0KipLkXWawq9uhSqafImzN4PUFbuNm1z0dCjSQcuM+3FE4hIyaLdSYje4+jFs6QOm+
         u4Tl6m1C/TswApHeO4O2NMobbi3Ww4TL+4X9IN9Vq7ooeM2WwFaV39TFUyly/n/UKBRo
         VMnNLNaNciptBTihlJY94xIsk1ax8eY9FT32pOmjqsMku2ai2r8z3lJvQ/TOPoKDLqzp
         6dz66ESepUsT8H53R4WJqJYLVgvGiKLlq8P5f6bmuefRQs2o0LwCyBRyU3RS7Z4h3nsF
         Nu1w==
X-Gm-Message-State: AEkooustcWtEs3lBTjlBscCxblwhinfU2cgqPZG5Mfm72zSVwhGr0DhH1I1BoHfC4UbF/KQsFmle/aT53rl9ug==
X-Received: by 10.25.39.67 with SMTP id n64mr8097204lfn.91.1469465263845; Mon,
 25 Jul 2016 09:47:43 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <tencent_059F24467C17F0576EAE1DED@qq.com>
References: <tencent_2F9AFB1E3984F46F123DC572@qq.com> <tencent_059F24467C17F0576EAE1DED@qq.com>
From: Bart Schaefer <schaefer@brasslantern.com>
Date: Mon, 25 Jul 2016 09:47:43 -0700
Message-ID: <CAH+w=7ZKJf-Ofg-AfWwQjx2_YtT0e2Oa7gvXw_uy4zigOjpJbA@mail.gmail.com>
Subject: Re: zsh 5.2 Vim style text objects don't support ci" or di"
To: =?UTF-8?B?5byg57un5Zu9?= <75199165@qq.com>
Cc: zsh-workers <zsh-workers@zsh.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Seq: zsh-workers 38949

On Mon, Jul 25, 2016 at 5:34 AM, =E5=BC=A0=E7=BB=A7=E5=9B=BD <75199165@qq.c=
om> wrote:
> who can help me?

There was a reply to this last month.  If you need to be Cc'd because
you are not subscribed to the mailing list, please mention that when
you write to us!




---------- Forwarded message ----------
From: Jun T. <takimoto-j@kba.biglobe.ne.jp>
Date: Mon, Jun 27, 2016 at 9:54 AM
Subject: Re: di" or ci" in zsh 5.2
To: zsh-workers@zsh.org



2016/06/27 15:58, =E5=BC=A0=E7=BB=A7=E5=9B=BD <75199165@qq.com> wrote:

> i use zsh 5.2.
> 5.2 support vim style text object. ciw or diw work=E3=80=82but di" or ci"=
 not=E3=80=82
> should i setup zsh more to support this ?

Yes.
If you want to use the 'select-quoted' widget (and map it to i", a", etc.),
please look into the comment at the top of 'Functions/Zle/select-quoted'.
There you will find the commands you need to add to your .zshrc
('autoload -U select-quoted' and the following six lines).

Functions/Zle/{select-bracketed,surround} have similar comments, which
may be also useful for you.

Jun

