From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18921 invoked from network); 4 Nov 2008 00:50:52 -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; 4 Nov 2008 00:50:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 51164 invoked from network); 4 Nov 2008 00:50:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Nov 2008 00:50:45 -0000 Received: (qmail 1428 invoked by alias); 4 Nov 2008 00:50:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26004 Received: (qmail 1409 invoked from network); 4 Nov 2008 00:50:37 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 Nov 2008 00:50:37 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by bifrost.dotsrc.org (Postfix) with ESMTP id 1431F80524C2 for ; Tue, 4 Nov 2008 01:50:34 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e21so1440918fga.37 for ; Mon, 03 Nov 2008 16:50:34 -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=/vIeHqfKTx2TPNdSh4zn+2jEzMrPG7lPb8HZ5hcRpMs=; b=S7UwOd1G4U/YoZxT3roTn9TV4sOz1FdEC6wuRZe7A1umPei1O5yhdr0N4ZVZecHWlq DRPmTZBQxziZ+Ef7EvOiiSLNY8VFO+ynMzbngPfUMsG9APMSUc7JF9G/GLA8XgZw7N7U fvHhI/ZVQ1EKFhazWpl1C3cOgjJnXDyDucBQg= 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=Owrt1ydabxqwhKake/yeqCr8AjqSGiEAzPym3YCkIHgXLQvLdHRQV9BsGdrw0vh+ls AG4Z6ueP1fqWhEP7jCGnSzNs899W9JNCZ5H/F+H1oICISJTTO8UvE7UEWeEbiWWQOnu8 EE/40EAIO3VFwA1W8bRYsqs9zoBzB+asoNyww= Received: by 10.86.58.3 with SMTP id g3mr619493fga.77.1225759834597; Mon, 03 Nov 2008 16:50:34 -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 l19sm9242764fgb.7.2008.11.03.16.50.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 16:50:33 -0800 (PST) Message-ID: <490F9C4A.9000904@gmail.com> Date: Tue, 04 Nov 2008 01:50:18 +0100 From: Matthieu Louvel de Monceaux User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Matt Wozniski CC: 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> <490F3B22.6070806@gmail.com> <17393e3e0811031509p7d89beebw6e833bca02076b5c@mail.gmail.com> In-Reply-To: <17393e3e0811031509p7d89beebw6e833bca02076b5c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8560/Mon Nov 3 20:20:13 2008 on bifrost X-Virus-Status: Clean Matt Wozniski wrote: > 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 > > Indeed I changed it by set backspace=indent,eol,start where start is actually the one needed to backspace further left the spot where we entered the insert mode. Cheers, M. Louvel de Monceaux