This is happening because you have the 'digraph' option enabled. When
this option is enabled, you can input unicode characters by typing
{char1} <BS> {char2} instead of using <C-k>{char1}{char2}. This is
described at ":help 'digraphs'".
James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jame...@jamessan.com>
On Fri, Dec 21, 2007 at 06:12:24AM -0800, Jeff Lanzarotta wrote:
> When I am in insert mode and I do:
> 'a' then backspace, 'a' then backspace, 'a' then backspace, repeatively, the character 'a' is replaced with 'å'.
This is happening because you have the 'digraph' option enabled. When
this option is enabled, you can input unicode characters by typing
{char1} {char2} instead of using {char1}{char2}. This is
:set nodigraph
see
:help digraphs-use
I suspect that you have a ":set digraph" line in your vimrc, which makes
<character><BS><character> active (in addition to the always-available
<Ctrl-K><character><character>) as an additional method of producing foreign
characters by means of digraphs. If you have that line, remove it to disable
the strange behaviour you've been seeing. You'll still be able to use the
other (Ctrl-K prefix) method, which won't interfere with your use of the
backspace key.
(Note: aa is the digraph for the letter å, and ae for æ.)
Best regards,
Tony.
--
"But don't you worry, its for a cause -- feeding global corporations
paws."
Jeff Lanzarotta, your quoting mechanism cripples the text portion of the
message that you quoted. It said: "{char1} <BS> {char2} instead of ..."
and now it reads "{char1} {char2} instead of ...".
Adri