Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 5.2 Vim style text objects don't support ci" or di"
- X-seq: zsh-workers 38949
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: 张继国 <75199165@xxxxxx>
- Subject: Re: zsh 5.2 Vim style text objects don't support ci" or di"
- Date: Mon, 25 Jul 2016 09:47:43 -0700
- Cc: zsh-workers <zsh-workers@xxxxxxx>
- 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==
- In-reply-to: <tencent_059F24467C17F0576EAE1DED@qq.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <tencent_2F9AFB1E3984F46F123DC572@qq.com> <tencent_059F24467C17F0576EAE1DED@qq.com>
On Mon, Jul 25, 2016 at 5:34 AM, 张继国 <75199165@xxxxxx> 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@xxxxxxxxxxxxxxxxx>
Date: Mon, Jun 27, 2016 at 9:54 AM
Subject: Re: di" or ci" in zsh 5.2
To: zsh-workers@xxxxxxx
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