Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird Vi-mode behavior
- X-seq: zsh-workers 25993
- From: Peter Stephenson <pws@xxxxxxx>
- To: Matthieu Louvel de Monceaux <glory69@xxxxxxxxx>
- Subject: Re: Weird Vi-mode behavior
- Date: Mon, 03 Nov 2008 12:37:02 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <490EED78.8010802@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <490EED78.8010802@xxxxxxxxx>
Matthieu Louvel de Monceaux wrote:
> When we return from command mode to insert mode, we can't modify
> the text from the beginning to the spot where we got insert ...
> Definitely a weird behavior ...
>
> To get it too, just type 'foo folk x' for example.
> Then Esc, type 'b' to go to the previous word, then press 'i' to go
> insert mode.
> Now you can't edit the 'foo ' part anymore.
I'm sorry, I don't understand. You're in insert mode, and you're
inserting at the "folk", right? (That's what your description implies
with the usual key bindings.) Then of course you won't be editing "foo
", you'll be inserting new text in front of "folk".
Do you mean you can't use the cursor key to go backward?
Do you mean you hit "b" *twice* to go back to the "foo" and you expect
to be in overwrite mode rather than insert mode so that you type over
the "foo"?
Do you mean you were expecting the effect of "I" (capital important)
which takes you to the start of the line and then puts you in insert
mode?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author