From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20180 invoked by alias); 1 Jun 2017 13:19:19 -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: 41190 Received: (qmail 6538 invoked from network); 1 Jun 2017 13:19:19 -0000 X-Qmail-Scanner-Diagnostics: from smtp04.optiver.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(204.91.48.151):SA:0(-0.0/5.0):. Processed in 1.81217 secs); 01 Jun 2017 13:19:19 -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=-0.0 required=5.0 tests=RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: prvs=3325614986=johnkaczor@optiver.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at optiver.com designates 204.91.48.151 as permitted sender) From: John Kaczor To: "Jun T." , "zsh-workers@zsh.org" Thread-Topic: Zsh Bug Report: vi mode inner motions diw and ciw incorrect [External] Thread-Index: AQHS2n6LOljnZpkBk0yNOB6kkxnf56IP+tNg Date: Thu, 1 Jun 2017 13:19:02 +0000 Message-ID: <559FA8F10BF2244B9DA5E70F5B6BA9A00112A312C2@OPCHMS0002.comp.optiver.com> References: <559FA8F10BF2244B9DA5E70F5B6BA9A00112A30093@OPCHMS0002.comp.optiver.com> <47CA014E-7DE7-4485-ACCE-F98F5C140376@kba.biglobe.ne.jp> In-Reply-To: <47CA014E-7DE7-4485-ACCE-F98F5C140376@kba.biglobe.ne.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.52.131.3] x-tm-as-product-ver: SMEX-11.0.0.1191-8.100.1062-23104.004 x-tm-as-result: No--6.863600-0.000000-31 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Zsh Bug Report: vi mode inner motions diw and ciw incorrect X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-01_03:,, signatures=0 bindkey -M viopp iw Outputs "iw" select-in-word I cut down my zshrc to a minimal version that reproduces the issue. It appears to only occur once I have sourced zsh-history-substring-search.z= sh. I cloned the latest version of this plugin. Also, zsh 5.0.8 works as expected even when sourcing zsh-history-substring-= search.zsh, but zsh 5.3.1 does not. My zshrc: bindkey -v bindkey -M viins 'jk' vi-cmd-mode source $HOME/.zsh/plugins/substring-search/zsh-history-substring-search.zsh -----Original Message----- From: Jun T. [mailto:takimoto-j@kba.biglobe.ne.jp] Sent: Wednesday, May 31, 2017 9:27 PM To: zsh-workers@zsh.org Cc: John Kaczor Subject: Re: Zsh Bug Report: vi mode inner motions diw and ciw incorrect [E= xternal] On 2017/06/01, at 6:49, John Kaczor wrote: > In zsh version 5.3.1 vi-cmd-mode, typing diw when the cursor is at the en= d of "/path/to/dir" deletes the entire string instead of just "dir". I can't reproduce this. Please try the following bindkey command to see "iw" is actually bound to s= elect-in-word. zsh% bindkey -M viopp iw "iw" select-in-word ________________________________ This email and any files transmitted with it are confidential and intended = solely for the use of the individual or entity to whom they are addressed. = If you are not the intended recipient, any disclosure, copying, use, or dis= tribution of the information included in this message and any attachments i= s prohibited. If you have received this email in error please notify our sy= stem management at postmaster@optiver.com and immediately and permanently d= elete this message and any attachments.