zsh-workers
 help / color / mirror / code / Atom feed
From: John Kaczor <johnkaczor@Optiver.com>
To: "Jun T." <takimoto-j@kba.biglobe.ne.jp>,
	"zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: RE: Zsh Bug Report: vi mode inner motions diw and ciw incorrect
Date: Thu, 1 Jun 2017 13:19:02 +0000	[thread overview]
Message-ID: <559FA8F10BF2244B9DA5E70F5B6BA9A00112A312C2@OPCHMS0002.comp.optiver.com> (raw)
In-Reply-To: <47CA014E-7DE7-4485-ACCE-F98F5C140376@kba.biglobe.ne.jp>

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.zsh. 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 <johnkaczor@Optiver.com>
Subject: Re: Zsh Bug Report: vi mode inner motions diw and ciw incorrect [External]


On 2017/06/01, at 6:49, John Kaczor <johnkaczor@Optiver.com> wrote:

> In zsh version 5.3.1 vi-cmd-mode, typing diw when the cursor is at the end 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 select-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 distribution of the information included in this message and any attachments is prohibited. If you have received this email in error please notify our system management at postmaster@optiver.com and immediately and permanently delete this message and any attachments.


  reply	other threads:[~2017-06-01 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 21:49 John Kaczor
2017-06-01  2:26 ` Jun T.
2017-06-01 13:19   ` John Kaczor [this message]
2017-06-01 14:15     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559FA8F10BF2244B9DA5E70F5B6BA9A00112A312C2@OPCHMS0002.comp.optiver.com \
    --to=johnkaczor@optiver.com \
    --cc=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).