zsh-workers
 help / color / mirror / code / Atom feed
* di" or ci" in zsh 5.2
@ 2016-06-27  6:58 =?gb18030?B?1cW8zLn6?=
  2016-06-27 16:54 ` Jun T.
  0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?1cW8zLn6?= @ 2016-06-27  6:58 UTC (permalink / raw)
  To: =?gb18030?B?enNoLXdvcmtlcnM=?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 131 bytes --]

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 ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: di" or ci" in zsh 5.2
  2016-06-27  6:58 di" or ci" in zsh 5.2 =?gb18030?B?1cW8zLn6?=
@ 2016-06-27 16:54 ` Jun T.
  0 siblings, 0 replies; 2+ messages in thread
From: Jun T. @ 2016-06-27 16:54 UTC (permalink / raw)
  To: zsh-workers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 593 bytes --]


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-27 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27  6:58 di" or ci" in zsh 5.2 =?gb18030?B?1cW8zLn6?=
2016-06-27 16:54 ` Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).