Posted by: yegorich | May 17, 2010

VIM as IDE

I’m using VIM for some years. It is a great editor, but till now I only used some small subset of its advanced features like splitting windows, using ctags, vimdiff etc. But after having some problems concerning VIM usage via putty, I decided to learn some more features. Below you’ll find a list of useful plugins I found during my search:

taglist

This is very useful plugin showing you an overview of a current source file, delivering macro, variables and function definitions in a special window.

TTrCodeAssistor

This plugin enables auto-completion of function prototypes.

OmniCppComplete

This plugin enables auto-completion for structures/classes.

Note: all these plugins rely on ctags, I use following alias:

alias ctags='ctags -R --exclude=.pc --exclude=patches --exclude=.git --c++-kinds=+p --fields=+iaS --extra=+q'

the –exclude statements are very useful, if using quilt, otherwise you can spring into the backup version of the file instead of original one. Other statements are needed to correctly extract structure/classes information.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: