Are there any peculiarities associated with the '-' dash character in
vim?

I was experimenting with the '.' repeat command and I typed the
following:

+--------------------+--------------------------------------------+
!                    !                                            !

followed by an <esc> and a '.'

.. vaguely hoping to obtain this:


+--------------------+--------------------------------------------+
!                    !                                            !
+--------------------+--------------------------------------------+
!                    !                                            !

.. in order to eventually create a table of two columns and n rows with
minimal effort/typing.

Instead I got this:

+--------------------+-------------------------------------------+
!                    !
+--------------------+-------------------------------------------+
!¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬!¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬!!

iow the spaces on the second line of what I originally entered are
replaced by the 'NOT' character - not present on the US keyboard. 

also the last of my exclamation points appears to have been removed
from what I originally typed and now four of them appear on the second 
of the two lines added by the '.' command

naturally, I could use shift-V followed by a number of 'yp's to obtain
what I am looking for but I was just curious where this NOT ('¬' - 0xac)
character comes into the picture - and whether there is more to it
than the above triviality.

Thanks.

cga


Reply via email to