Wednesday, April 4, 2012

Fixed a problem of cscope_maps.vim

The introduction for cscope_maps.vim is here: http://cscope.sourceforge.net/cscope_vim_tutorial.html

It is a good plugin for VIM, but I could not use it on my machine somehow. After google search and tried some method to debug the plugin, the problem still exists.

Finally, I noticed that when I launch vim, there is an error message complaining about the line 42 of cscope_maps.vim. Maybe that error prevents the plugin to be loaded. So I just go ahead, open the cscope_maps.vim and comment out the line 42 and some related lines, then the plugin works! I can use all the shortcut keys to search the source code now. :)

No comments: