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

Re: di" or ci" in zsh 5.2



2016/06/27 15:58, Õż̹ú <75199165@xxxxxx> 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




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