Yesterday while cleaning my hard drive, I found the 20MinutesWiki video that presents TurboGears I downloaded some days ago and watched it. It’s quite impressive but what I seen besides technical stuff was the editor Kevin Dangoor (the presenter) was using : TextMate. It had some completion features that seemed quite nice. So, as a vim user, I decided to look if someone already wrote such a plugin and finally found it!
As an example, you can add this to your ~/.vim/ftplugin/c.vim (you need to change delimiter to ‘?’) :
Iabbr inc #include "?file?.h"^M??
There are some issues though, the most important being it breaks the indentation (well, you can still use Ctrl-F).
Recent Comments