Useful vim plugins for C/C++ developers

23 02 2006

Useful Vim plugins

Most popularĀ  vim karma list here. This is just my personal mini list.

———————————————————————————————-
FILE EXPLORERS
———————————————————————————————-

Projects:
Group files into projects and display
use the Projects menu in Vim

Cons: needs initial setup
always asks if project needs saved

c.vim :

Must have for C/C++ programmers.

———————————————————————————————-
TAGS
———————————————————————————————-

Taglist:
Open tags with :Tlist
-/+: Collapse/Expand
d: delete with
?: help

place mouse on fuction to see prototype in status line
save with :TlistSessionSave
and load with :TlistSessionLoad

Cons: can open other files in the tags buffer
resize does not always work, cannot keep it to fixed len either

TagsExplorer:
Open the files in dir with :TagsExplorer
o: list tags
space: display protototype
?: help
s: change sort order (alphabetical/order they appear in file)
** Does this work?
Cons: does not list all files (Eg: IdtXmlMsg* files missing in $d/debit/posSvr)
Very long side window

TagsBase:
Create a Tags menu option with list of tags in file in
current buffer. Creates a Tags menu entry.
Cons: slow
does not treat c++ member functions neatly

minibufexpl:
simulate tabs. Opens a tabs window above for each buffer
Cons: not easy to read when more than 5 files are in tabs
does not work consistently with :only option

———————————————————————————————-
Misc
———————————————————————————————-
ManPageViewer:
‘K’ open man page for word under cursor

Folds:
http://www.linux.com/article.pl?sid=06/05/18/1915233

Vimpress: WordPress blog from vim