zsh-workers
 help / color / mirror / code / Atom feed
From: Matthieu Louvel de Monceaux <glory69@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Stephane Chazelas <Stephane_Chazelas@yahoo.fr>,  zsh-workers@sunsite.dk
Subject: Re: Weird Vi-mode behavior
Date: Mon, 03 Nov 2008 18:55:46 +0100	[thread overview]
Message-ID: <490F3B22.6070806@gmail.com> (raw)
In-Reply-To: <237967ef0811030950m1c0de776ye0ade92284eedc23@mail.gmail.com>

Mikael Magnusson wrote:
> 2008/11/3 Matthieu Louvel de Monceaux <glory69@gmail.com>:
>   
>> 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


  reply	other threads:[~2008-11-03 17:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 12:24 Matthieu Louvel de Monceaux
2008-11-03 12:37 ` Peter Stephenson
2008-11-03 12:56   ` Stephane Chazelas
2008-11-03 17:34     ` Matthieu Louvel de Monceaux
2008-11-03 17:38       ` Mikael Magnusson
2008-11-03 17:45         ` Matthieu Louvel de Monceaux
2008-11-03 17:50           ` Mikael Magnusson
2008-11-03 17:55             ` Matthieu Louvel de Monceaux [this message]
2008-11-03 23:09               ` Matt Wozniski
2008-11-04  0:50                 ` Matthieu Louvel de Monceaux
2008-11-03 17:39       ` Peter Stephenson
2008-11-03 13:12   ` Matthieu Louvel de Monceaux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490F3B22.6070806@gmail.com \
    --to=glory69@gmail.com \
    --cc=Stephane_Chazelas@yahoo.fr \
    --cc=mikachu@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).