zsh-workers
 help / color / mirror / code / Atom feed
From: Matthieu Louvel de Monceaux <glory69@gmail.com>
To: Matt Wozniski <godlygeek@gmail.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Weird Vi-mode behavior
Date: Tue, 04 Nov 2008 01:50:18 +0100	[thread overview]
Message-ID: <490F9C4A.9000904@gmail.com> (raw)
In-Reply-To: <17393e3e0811031509p7d89beebw6e833bca02076b5c@mail.gmail.com>

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


  reply	other threads:[~2008-11-04  0:50 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
2008-11-03 23:09               ` Matt Wozniski
2008-11-04  0:50                 ` Matthieu Louvel de Monceaux [this message]
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=490F9C4A.9000904@gmail.com \
    --to=glory69@gmail.com \
    --cc=godlygeek@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).