Ⅰ. 插件描述
command and menu driven cscope interfaceⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/cecscope'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/cecscope'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/cecscope'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cecscope
Ⅳ. 文档说明
(requires vim7.0aa snapshot #188 or later)
DrChip's cscope interface supports commands:
CS [cdefgist] : cscope
CSl[!] [cdefgist] : locallist style (! restores efm)
CSs[!] [cdefgist] : split window and use cscope
! split vertically
c (calls) find functions calling function under cursor
d (called) find functions called by function under cursor
e (egrep) egrep search for the word under cursor
f (file) open the file named under cursor
g (global) find global definition(s) of word under cursor
i (includes) find files that #include file named under cursor
s (symbol) find all references to the word under cursor
t (text) find all instances of the word under cursor
and menus which allow you to do all the above. Includes help
and a tutorial.
(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#CECSCOPE)