Page 1 of 1

enable cscope into vi / vim

Posted: Sat Dec 06, 2014 12:31 pm
by fabiodelorenzo

Code: Select all

mkdir -p  ~/.vim/plugin/

cd  ~/.vim/plugin/
wget http://cscope.sourceforge.net/cscope_maps.vim

cd __workspace_project_
cscope -Rb



'-R' makes Cscope parse all subdirectories, not just the current directory.
'-b' flag tells Cscope to just build the database, then exit ( or you will find yourself inside Cscope's curses-based GUI)


tutorial:
http://cscope.sourceforge.net/cscope_vim_tutorial.html