From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29897 invoked from network); 3 Nov 2008 17:38:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Nov 2008 17:38:53 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 30715 invoked from network); 3 Nov 2008 17:38:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Nov 2008 17:38:49 -0000 Received: (qmail 15717 invoked by alias); 3 Nov 2008 17:38:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25997 Received: (qmail 15706 invoked from network); 3 Nov 2008 17:38:43 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Nov 2008 17:38:43 -0000 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by bifrost.dotsrc.org (Postfix) with ESMTP id D861E80524C0 for ; Mon, 3 Nov 2008 18:38:40 +0100 (CET) Received: by ey-out-2122.google.com with SMTP id 25so864464eya.3 for ; Mon, 03 Nov 2008 09:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Sli66HTycdU4EcuL9eQ2fWlBuTrHAhOhYBp8T+tSSFA=; b=ArM3jY8OEMASCEoUhOUzDGROGzWpm3aJtnSAPNG1U99siS3euHNJQMPD/dc4yr7d5C B5s3bFsNDYQp4eGCZFnm5OS3ncwtIbNWLAl/PerP4JDk9Phq5o/8Z51roAf0vfOlmdu5 k9jMbEz/pmWrrNd5clJkxaipiiwP3iqBs4Uw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=W6o33LnDGQtFjWNTl5FXd7wR/c3Y+FI5pkboWbyujyCEoV/O9YBY6VCPlxYYpbKaog dyiFPL9a76iMjZZg1V5/QqJjwncMQ2xigzg3rrRwBEXFPbvs9Yej80Fe1lh60j0ONu5Y T8wIMnraORrDV5OZR9imuqI2rcQKuDBvGb+8s= Received: by 10.210.37.16 with SMTP id k16mr427894ebk.75.1225733919960; Mon, 03 Nov 2008 09:38:39 -0800 (PST) Received: by 10.210.73.14 with HTTP; Mon, 3 Nov 2008 09:38:39 -0800 (PST) Message-ID: <237967ef0811030938s2196041axd0aa4a051deddf69@mail.gmail.com> Date: Mon, 3 Nov 2008 18:38:39 +0100 From: "Mikael Magnusson" To: "Matthieu Louvel de Monceaux" Subject: Re: Weird Vi-mode behavior Cc: "Stephane Chazelas" , zsh-workers@sunsite.dk In-Reply-To: <490F3638.4000706@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <490EED78.8010802@gmail.com> <200811031237.mA3Cb2VS013961@news01.csr.com> <20081103125609.GA4855@sc.homeunix.net> <490F3638.4000706@gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8559/Mon Nov 3 17:41:26 2008 on bifrost X-Virus-Status: Clean 2008/11/3 Matthieu Louvel de Monceaux : > Thank you for your nice piece of information. > You want me to put those bindings in my zshrc file ? > > But i don't understand that : > > (($+terminfo[kdch1])) && > > You said that it maps delete-char to the char sent by the delete key. > Is it the role of the '&&' ? a && b is like if a; then b; fi, but shorter, and only works if b is a single statement (or is in {}, but then you're better off with an if probably). -- Mikael Magnusson