Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vi-backward-kill-word
- X-seq: zsh-workers 24863
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: vi-backward-kill-word
- Date: Wed, 23 Apr 2008 02:56:02 +0900
- In-reply-to: <20080421182728.3450104d@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <A2142905-01C6-4D18-9CE2-EC23B8DE2F03@xxxxxxxxxxxxxxxxx> <20080421182728.3450104d@news01>
Vi "r" seems to still have some problems.
Suppose you have a command line like:
echo aéo
and move the cursor to é and type "rb". Then the command line
will become
echo áb
In vireplacechars(), line 545 (zle_vi.c),
foredel(n - newchars, CUT_RAW);
this will remove the base character "e" at zlecs, shift the
combining character, and move zlecs to the next base char "o".
a e comb o
|
zlecs
will become
a comb o
|
zlecs
and then "o" is replaced by "b".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author