Why does vi keep replacing text?
How do I stop vi from replacing t开发者_运维百科ext while typing? For example, in a groovy file when I type "pl" vi replaces it with "println".
Have you checked the .vimrc file? It might have the replacements there. I googled it for you and came up with this result, which might be more complete than you want.
It happens due to abbreviations, which apparently cannot be disabled easily. Per the vim users mailing list, I've added the following to my .vimrc:
autocmd FileType * abc
精彩评论