[Solved] Abbreviations not working in vim
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.
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)
Related Articles:
- 2010/08/02 when you press f9 ‘paste’ is on , press f9 again and ‘paste’ is off, and so forth (works in insert-mode and command-mode)
- 2010/07/11 jumps and marks in vim
- 2010/06/24 bash script to change the vim colorscheme from the list of locally available schemes
- 2010/02/03 Built-in lists in vim
- 2010/04/11 In (any) vi, add a keystroke to format the current paragraph.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.