From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15597 invoked from network); 3 Nov 2008 23:10:17 -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 23:10:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 24979 invoked from network); 3 Nov 2008 23:10:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Nov 2008 23:10:09 -0000 Received: (qmail 17034 invoked by alias); 3 Nov 2008 23:10:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26003 Received: (qmail 17007 invoked from network); 3 Nov 2008 23:10:02 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Nov 2008 23:10:02 -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 6B8DC80524C0 for ; Tue, 4 Nov 2008 00:09:59 +0100 (CET) Received: by ey-out-2122.google.com with SMTP id 25so938165eya.3 for ; Mon, 03 Nov 2008 15:09:58 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2MulvAR7dvboTyfrJfvGjMXyMGeWg+hXTyoGJ7lQFEs=; b=j86aziV5NJx/X7gPBqV2mmCnP/Kn5dvfW9HlGYGstmofuAXJ/qttR75yASLT6NyDnG GKUyWM7AXy5v0u5P9tk2uK+46N+Hx804zULI0A64H2FoVS2YESkBbSaoVn3oN3nZmiVl 2vLkTI7s06R4CdQRYB0Bmv+0XoFnrSQNl8F+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=t8M/ybbECIz+StW4DvPAkzngpFKV/bkIMSNNULThfnPs2wiYWIZT/Pvdq5J91Hl6aW q1IjSb660W5ObeARBpiHSZhJrt2ceY2M7zdzws1atTcBQZ4bBPjchxQR6QM4JE2u5VwP ++/yMwJuzTR0usQgcuv+DnYTZCiye8uOcbbDY= Received: by 10.103.218.9 with SMTP id v9mr326233muq.58.1225753798670; Mon, 03 Nov 2008 15:09:58 -0800 (PST) Received: by 10.103.2.10 with HTTP; Mon, 3 Nov 2008 15:09:58 -0800 (PST) Message-ID: <17393e3e0811031509p7d89beebw6e833bca02076b5c@mail.gmail.com> Date: Mon, 3 Nov 2008 18:09:58 -0500 From: "Matt Wozniski" To: zsh-workers@sunsite.dk Subject: Re: Weird Vi-mode behavior In-Reply-To: <490F3B22.6070806@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> <237967ef0811030938s2196041axd0aa4a051deddf69@mail.gmail.com> <490F38A8.2070505@gmail.com> <237967ef0811030950m1c0de776ye0ade92284eedc23@mail.gmail.com> <490F3B22.6070806@gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8560/Mon Nov 3 20:20:13 2008 on bifrost X-Virus-Status: Clean On Mon, Nov 3, 2008 at 12:55 PM, Matthieu Louvel de Monceaux wrote: > Mikael Magnusson wrote: > >> 2008/11/3 Matthieu Louvel de Monceaux: >> >>> 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. FWIW, Vim behaves the same way unless you change the 'backspace' option to a non-default value. Your distro may change it, but Vim ships with this option set to Vi-compatible behavior in both compatible and non-compatible modes. ~Matt