From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26052 invoked by alias); 9 Jan 2016 19:06:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37528 Received: (qmail 19243 invoked from network); 9 Jan 2016 19:06:41 -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:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=8TR1Mx2Xp/GqVjQfkbmGLyUPy5+euoGJRovRFXK/waY=; b=goLhTqkGeLoe07tDjkoQ3aXUKcXs8OjJaNGEjffxtxNLS8507n7ZnICTm07uSpd/jd 5O6Sz7fscvfisltMEiV9O94U58as+gqxKm0rNTbCKzu/MxqKqk3Y6+wVzMsDLugbwGOa 3oB+eqJh2YTrlQu5na5SDoCdpE88Uo4mgvrP1u7iYXmPggj5kQxaRVn2E7Ot+mmvkaJF zuWycuKWpLbZT9FZP//RbIzEmj4qwQC+xAHjLU6JkJLsM4uVj90KO+MrvWzM4ieWbbmO tqNLXaQsVTwLOQJMiP18kNz09G7OhAq5lyc7GNBO5rCQR2lYac3qk/XtKUTTCaatm5yV B3Vg== X-Received: by 10.25.141.129 with SMTP id p123mr19277981lfd.65.1452366399115; Sat, 09 Jan 2016 11:06:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <160109092258.ZM3394@torch.brasslantern.com> From: Sebastian Gniazdowski Date: Sat, 9 Jan 2016 20:06:19 +0100 Message-ID: Subject: Re: New widget "transpose-segments" To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable One other mini-difference is a feature of t-seg =E2=80=93 the way it detect= s current segment (the one to swap with a previous one). Given a line: "$ a b c d " t-seg allows to place cursor arbitrarily after "d", and it will not loose the trailing spaces, and swap "c" and "d". t-w-match will swap "d" and spaces after "d". Best regards, Sebastian Gniazdowski