Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird Vi-mode behavior
- X-seq: zsh-workers 26003
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Weird Vi-mode behavior
- Date: Mon, 3 Nov 2008 18:09:58 -0500
- 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=
- In-reply-to: <490F3B22.6070806@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <490EED78.8010802@xxxxxxxxx> <200811031237.mA3Cb2VS013961@xxxxxxxxxxxxxx> <20081103125609.GA4855@xxxxxxxxxxxxxxx> <490F3638.4000706@xxxxxxxxx> <237967ef0811030938s2196041axd0aa4a051deddf69@xxxxxxxxxxxxxx> <490F38A8.2070505@xxxxxxxxx> <237967ef0811030950m1c0de776ye0ade92284eedc23@xxxxxxxxxxxxxx> <490F3B22.6070806@xxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author