Wednesday, May 2, 2007

VIM - Using cscope

Install cscope.

At your project directory, to recursively build the database
cscope -Rb

Place cscope_maps.vim into ~/.vim/plugin.

CTRL+] to search for the word under the cursor.

See the cscope vim tutorial for more details.

2 comments:

Jeyakumar J said...

I was missing cscope_maps.vim in my installation. At last found the clue in your post. Very useful. Thanks.

Joseph Antony said...

Nice tip. I was also missing the cscope_maps file.