In Vim, how to substitute text with combining characters? -
in vim, text é,e
(\x65 \u0301 \x2c \x65):
if use :s/\ze/x/g
, x,x
. how x́,x
?
if use :s/́/̂/g
(substitue \u0301 \u0302), ̂,e
. how ê,e
?
if have vim compiled perl support, can try this:
:perldo s/e/x/g :perldo s/́/̂/g
this works me in case ́ sign should have been above , sign got when used sequence provided. similarly, ̂ sign above , sign in result of second command. still guess want getting same copy-paste errors when compiling answer.
Comments
Post a Comment