开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜