From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17336 invoked by alias); 27 Jun 2016 17:28:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38768 Received: (qmail 13339 invoked from network); 27 Jun 2016 17:28:18 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Biglobe-Sender: Content-Type: text/plain; charset=gb18030 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: di" or ci" in zsh 5.2 From: "Jun T." X-Priority: 3 In-Reply-To: Date: Tue, 28 Jun 2016 01:54:25 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <3C63F9BA-C572-418B-AD67-29EC3E0CD3F9@kba.biglobe.ne.jp> References: To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1878.6) X-Biglobe-Spnum: 65217 2016/06/27 15:58, =D5=C5=BC=CC=B9=FA <75199165@qq.com> wrote: > i use zsh 5.2. > 5.2 support vim style text object. ciw or diw work=A1=A3but di" or ci" = not=A1=A3 > 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