Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Zsh Bug Report: vi mode inner motions diw and ciw incorrect
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@xxxxxxxxxxxxxxxxx]
Sent: Wednesday, May 31, 2017 9:27 PM
To: zsh-workers@xxxxxxx
Cc: John Kaczor <johnkaczor@xxxxxxxxxxx>
Subject: Re: Zsh Bug Report: vi mode inner motions diw and ciw incorrect [External]
On 2017/06/01, at 6:49, John Kaczor <johnkaczor@xxxxxxxxxxx> 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@xxxxxxxxxxx and immediately and permanently delete this message and any attachments.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author