cga (?) wrote:
> 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.
Weird. I can't reproduce it.
What version of Vim? What system? Console or GUI? What is 'encoding'
set to?
--
Biting someone with your natural teeth is "simple assault," while biting
someone with your false teeth is "aggravated assault."
[real standing law in Louisana, United States of America]
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///