From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5431 invoked by alias); 22 Jun 2016 15:16:55 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21693 Received: (qmail 19617 invoked from network); 22 Jun 2016 15:16:52 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1466608183; bh=fTcgzGMf+uh/bBkZ60r+tiJ5sw91S7sfUIGy1X/3yuI=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=guBBKIt+1sRq9pj0JZW+NYmGX4OQToCPs4cnvsXz0It2v6LY3Li3w8QL1FvcFsaBHrgYUZyTmIRTATqBGWsIeCU2vFPHNHS22nM0JjIGDZDUayUb5BuJ/x7tvmrTRFc/MW3rPYtcA7oNZZS4ZHGHA6E49qYALO6lYKKC25G6FY7WbR6Z81w44Tir/S9dM/XXn4GQqRoIVaCwxSs5/jSrMTXH3KwXxabpyfjC5kFLw8br83RL5HTpYUX24k6V+BwI/jwnZdyNYQl3L2yolLs6V50rPu0fr4UnLD9XiasaUwUl4JGXgR9J3dTMfNEJtAfPBb9xChemVa3k6dOQqkZtBQ== X-Yahoo-Newman-Id: 780824.6248.bm@smtp128.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: I3JA9lYVM1lfLMQ6YZUxbgO__yRekkSNAkMwFAgg7DJHFFd I7PQaeQ5AWjaJKgm88_XYD201.827NvyhHijkCUt13s3TUyTes1Srftu4icV YJEE1ZqqZSJ8v20X7QDVFSs8fXDgCoX9TYaZK2ezNR4ufobX_OlAsNuZzUqV Fbd9dOd5vTzdbgLX5RW65qpzG0iYnkPMbw_xOuKPVbiCC8HucRhwgDVJgpzO ggMzVd.bIuwtlCfvFYNbjulSshBJ4tD68tI18nFKHhWUHkFBP0vxdjfHWWoe 6dscIg6liX2xdMWwkkZ5874TXJ9AYbG.tz3emWqoxjqgtIJSlfjYI7DIGBw. oInhfB8M3WJMnBb0.hWcyeLO8H9K3WKu1O1piJvFDzPoFBq9XB2gxqbtmD38 0QduKM1VNSHPl4MvfWMDABUwjVamnCOYNJNhLE8j0X5ISX_eux8vUm3byIrT 3EAgXP.3ZYegGmtnvsTtkIGYh3TbMWqQD9JK2_2sKSFLi_3uAlAsVSj.Ff_K u1GEY.3nsRQeFt9hrHz1uOgDxAHAHHS3MBKMQECZVycsPXPvUumrbbg-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- cc: zsh-users@zsh.org In-reply-to: From: Oliver Kiddle References: <21997.1466550647@thecus.kiddle.eu> <160621234233.ZM10369@torch.brasslantern.com> To: Filipe Silva Subject: Re: [vi-mode] widgets for case manipulation: `gU` and `U` in visual mode MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25349.1466608182.1@thecus.kiddle.eu> Date: Wed, 22 Jun 2016 17:09:42 +0200 Message-ID: <25350.1466608182@thecus.kiddle.eu> Filipe Silva wrote: > for instance, the `ys` chord is not being picked up. > > supose i have a word: `abcde` and the cursor is in `c`. if I'm in > normal mode and type `ys` zle thinks that I've hit `s` and deletes the > `c` character and puts me in insert mode. > > Maybe it's a bug? I think this occurs if you don't type ys fast enough. What have you got $KEYTIMEOUT set to? Try typing the ys especially fast. And perhaps try binding ys to something that will be obvious like kill-whole-line to see if it is surround that is failing or the key binding. If this is the problem, it has also been fixed in newer versions by making it continue waiting for further keys if the keys typed so far, such as y, correspond to a widget, such as vi-yank, that needs to wait for a movement. This also allows tricks like bindkey -a -s 'cw' 'dwi' to work much as the equivalent vi map. Similarly, I can define bindkey -s -a "gUU" "gUgU" but because vi-uppercase is not a builtin widget, I need to hit the keys fast even in 5.2. > On Wed, Jun 22, 2016 at 10:19 AM, Filipe Silva > wrote: > > I've fixed the bug including the following condition: Thanks for that! Oliver