From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25516 invoked by alias); 22 Dec 2015 10:41:48 -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: 21093 Received: (qmail 25290 invoked from network); 22 Dec 2015 10:41:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZCxHDYKHaiC2Yfq52tgz2mS/bzkW6xEVyaWioZC83hA=; b=Okjctlh7WrK9SMdb84IMdFrRtR8JpwQjWHGA944v9eyveOBh4FhdzE/+8ak3Ahqe+Q 4TcNb7x0IqU8Fc74f388H0MNljFUQR3PQCdyYMXCD4gB+y3xzm8fs1a4wB1uw4vt95Ir UMpuaFpjsNHGYo5zKvd7xARILwi2uEjWFFCvZCE5JlpyvysnkeHHIIRo7FuZHOjxUp97 RPZDDcKI28ZxSJWBGp5l9sRheDjSFzdIq42+h8heVfmH35Ob2fOEUw+o2ao1q+9OCoHF Y3pqP/slTYMyuYDYOKud88434IqKCnNOs+Bb7XCT5vJ09lT3O1VYSX3E2w/GfZDr6l5s oX+g== MIME-Version: 1.0 X-Received: by 10.140.134.198 with SMTP id 189mr33634143qhg.58.1450780905223; Tue, 22 Dec 2015 02:41:45 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Dec 2015 11:41:45 +0100 Message-ID: Subject: Re: transpose-words worked for few seconds From: Mikael Magnusson To: Sebastian Gniazdowski Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On Tue, Dec 22, 2015 at 11:34 AM, Sebastian Gniazdowski wrote: > Hello, > I've added to ~/.zshrc: > bindkey "^[t" transpose-words > > I use bindkey -v. Pressing Alt-t worked like 5 times, then stopped. > Now it never works, even after rebotting machine. I think it can be > assumed that it doesn't work and worked by accident. > > Tried without bindkey -v, with bindkey "^Y" instead of "^[t". Entering > "a b" and pressing key combination doesn't change anything. Entering > "a b " swaps "b" and the last space, and does this once, without > swapping back. > > Tried on zsh 5.0.2, 5.0.8 and 5.2. OS X. You have to position the cursor on the first character of the word you want to transpose with the one before it. -- Mikael Magnusson