vim is totally confused with soft hyphen characters (0xAD
) in the Mac OS X Terminal. It is not displayed, although the "virtual column" number is right, the insertion is messed up.
So if I have a line with a-b
, where -
is the soft hyphen, it shows as ab
in vim, and when I try to replace the character b
by c
, I obtain instead acb
. Quite confusing.
The same happens with pico
, but not with emacs
.
Is there a way to fix this?
I'm using vim in the Terminal of Mac OS X.