From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 991 invoked from network); 3 Nov 2008 17:56:15 -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=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:56:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 38637 invoked from network); 3 Nov 2008 17:56:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Nov 2008 17:56:11 -0000 Received: (qmail 24444 invoked by alias); 3 Nov 2008 17:56:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26001 Received: (qmail 24427 invoked from network); 3 Nov 2008 17:56:05 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Nov 2008 17:56:05 -0000 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by bifrost.dotsrc.org (Postfix) with ESMTP id CD54680524C0 for ; Mon, 3 Nov 2008 18:56:02 +0100 (CET) Received: by ey-out-2122.google.com with SMTP id 25so868565eya.3 for ; Mon, 03 Nov 2008 09:56:02 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=q81V5U3qx39B9fj6lREdeBFxsx/qa6ZGbbsiqsDQ5bM=; b=Babw1hhVbmcM7rT/axzBOEmaCBcbti+8m/gfAa2xRqMZGTxsLDnbIpN5IeJ0RNRpX6 P7ymRAqm9GC5E9RZTk78VWS93zf+LEgN9s6iagHFRoSgm+gK00GUlFxkfqqOBB7AFsG6 3xsK6vMMEtS1bGmDAW6fuCuNZbn7YmxRq0raU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=kZKnH9tiphb9jIO/CJoa5ImvoRVTX7DpjL8NVfmXD0S1m2ugnsZVGvsVFrEAn53uyG qVfQ55NCTFXGtlWPOcqcBgAh7toV5mgcg8VM2TrYWYUvWkUHdtNnLmGMZGsr/sy33y6I wFV9UDKJzNjOLH+EHTROzyOw4crOeF9W2ZiUM= Received: by 10.86.26.1 with SMTP id 1mr353573fgz.75.1225734961863; Mon, 03 Nov 2008 09:56:01 -0800 (PST) Received: from ?192.168.1.11? (AMontsouris-159-1-10-231.w83-202.abo.wanadoo.fr [83.202.165.231]) by mx.google.com with ESMTPS id 12sm8872552fgg.0.2008.11.03.09.56.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 09:56:01 -0800 (PST) Message-ID: <490F3B22.6070806@gmail.com> Date: Mon, 03 Nov 2008 18:55:46 +0100 From: Matthieu Louvel de Monceaux User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Mikael Magnusson CC: Stephane Chazelas , zsh-workers@sunsite.dk Subject: Re: Weird Vi-mode behavior References: <490EED78.8010802@gmail.com> <200811031237.mA3Cb2VS013961@news01.csr.com> <20081103125609.GA4855@sc.homeunix.net> <490F3638.4000706@gmail.com> <237967ef0811030938s2196041axd0aa4a051deddf69@mail.gmail.com> <490F38A8.2070505@gmail.com> <237967ef0811030950m1c0de776ye0ade92284eedc23@mail.gmail.com> In-Reply-To: <237967ef0811030950m1c0de776ye0ade92284eedc23@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8559/Mon Nov 3 17:41:26 2008 on bifrost X-Virus-Status: Clean Mikael Magnusson wrote: > 2008/11/3 Matthieu Louvel de Monceaux : > >> Indeed that sounds logical. >> Same thing than >> >> if (($+terminfo[kdch1])); then >> bindkey -M viins $terminfo[kdch1] delete-char >> fi >> >> If I well understood. >> > > yep. > > >> Anyway, I would like to know the reason of that vi-mode behavior, >> different from both vi editor and bash vi-mode behaviours ... maybe >> you could make me understand about that. >> > > It is not different from the vi editor. If you have the string "Hello > there" in vi, and the cursor is on the t in there and you enter insert > mode, then you cannot backspace further left than that. Maybe you are > used to vim where the default in many distros (probably) is to allow > backspacing past this point. You can ":set compatible" to get the > original vi behaviour. > > You're right. I got confused by too-much of Vim :) The keybindings given up there will make sense for me. Thanks all. M. Louvel de Monceaux