Question

I have an unusual problem with my gVim installation - approximately half the time that I turn on my computer, gVim automatically replaces character sequences such as 'a and "o with their corresponding digraph characters. The other half of the time, it doesn't. I do not want this feature as it makes typing strings and other sequences very frustrating. But I can find no way to disable it.

This does not appear to be the default digraph options, since those use either backspace or CTRL-K to do anything. What could this be? The only package I have in my vimfiles folder is pyflakes. I have tried setting the keymap to the default and checking that I don't have the EasyAccents plugin installed somehow. Thanks!

Was it helpful?

Solution

Check, that no keymap is defined. Check the output of :verbose set keymap? It sounds to me, like some plugin is setting the accents keymap and therefore replacing e.g. 'a by á

Otherwise if that doesn't help, use paste mode, which basically disables all postprocessing by Vim when entering characters. The pastetoggle setting is useful for this.

In any case, check the faq Question 36.12 for how to debug problems with your .vimrc or plugins.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top