[Solved] Abbreviations not working in vim

2010-10-02 1 min read bash Learning Vim Tips

Today I found that abbreviations are not working in vim in my current login. I searched log of blog’s and sill did not find any solution so I decided to take the matters in my hand.

To start with I disabled all the plugin’s by moving my plugin directory. This did not help me solve the issue, so the only other option left was to now disable the vimrc file completely. Once I removed the vimrc file, the abbreviations started working.

Now, equipped with the information that vim is not able to support because of some customization in vimrc, I started removing or rather adding couple of entries at a time and checking if abbreviations were working or not and finally I found the offending entry:

inoremap                

Hope this will help you in future if you face similar issue. BTW, the issue is because Space is remapped, so you should avoid that for abbreviations to work.

Enhanced by Zemanta
comments powered by Disqus