Subject: Re: di" or ci" in zsh 5.2
From: "Jun T." <[email-masked]>
To: [email-masked]
Date: Tue, 28 Jun 2016 01:54:25 +0900
List-Id: Zsh Workers List <zsh-workers.zsh.org>

2016/06/27 15:58, 张继国 <[email-masked]> wrote:

> i use zsh 5.2.
> 5.2 support vim style text object. ciw or diw work。but di" or ci" not。
> 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