[Solved] Abbreviations not working in vim

2010-10-02 184 words 1 min read

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

author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it