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 <Space> <Space><Left><Right>
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.
Related articles by Zemanta
- 25 Vim Tutorials, Screencasts, and Resources (net.tutsplus.com)
- How I boosted my Vim (nvie.com)
- Using Spell Checking in Vim (linux.com)
- Coming Home to Vim (stevelosh.com)