* Tony Mechelynck wrote: > > On 22/03/09 13:16, Matt Wozniski wrote: > > > > On Sat, Mar 21, 2009 at 3:58 PM, Tony Mechelynck wrote: > > Aha, I think I see what's going on here. > > > > Andreas: Do you need to hold alt (or option) to type characters like& > > and< with the keyboard layout you've chosen? If so, my guess is that > > what's going wrong is that you're holding alt too long, and typing > > alt+space after finishing the& or< which causes OS X to insert a > > nonbreaking space instead of a normal space. Why they would ever > > include a 2-key combination to insert a character that most people > > will never ever want to type, I have no idea... And I'm also not savvy > > enough with OS X to know if you can turn off that behavior, but it > > would explain why you only see the behavior 'sometimes' - because > > you're actually typing a different character sometimes.
Thank you very much that exactly seems to be my problem, I need to
hold the option key to get these characters.
> Hm, one way to disable it (only in Vim, of course) would be
>
> :map! <Char-0xA0> <Space>
I added this to my .vimrc and everything works fine now.
--
Best regards, and thanks for your help,
Andreas Klein
pgpHtAbz6UyTC.pgp
Description: PGP signature
