Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Strange behavior when calling select-a-shell-word multiple times from the same user-defined widget



Daniel Parks wrote:
> On Wed, 2021-12-22 at 22:08 +0000, Daniel Shahaf wrote:
> > Adding «-N» to both select-a-shell-word calls does the trick.
>
> Thanks, that fixed it! I do still think it's pretty strange, though,
> because select-a-shell-word does not normally seem to respond to the
> numeric argument in a command like `v3aa` (still only selects one
> word).

It does select three words but goes backwards from the cursor rather
than forwards which is perhaps not what you expected.

Oliver





Messages sorted by: Reverse Date, Date, Thread, Author