gtags-cscope


Ⅰ. 插件描述

gtags cscope vim script

Ⅱ. 基本信息

创建日期:  2015-12-10
使用用户:  2
Github星:  0
插件作者:  Siyuan Xiang

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'multilobyte/gtags-cscope-it-has-you'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'multilobyte/gtags-cscope-it-has-you'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'multilobyte/gtags-cscope-it-has-you'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/multilobyte/gtags-cscope

Ⅳ. 文档说明

# gtags-cscope
gtags-cscope.vim from gnu global https://www.gnu.org/software/global/manual/global.html
Ported auto update from gtags.vim to gtags-cscope.vim. When a file is modified
and saved, global -u --single-update is called to update tags.

Add following line to .vimrc use VimPlug to install:
Plug 'multilobyte/gtags-cscope'

Configure following variables in $HOME/.vimrc.
" To use the default key/mouse mapping:
" let GtagsCscope_Auto_Map = 1
" To ignore letter case when searching:
" let GtagsCscope_Ignore_Case = 1
" To use absolute path name:
" let GtagsCscope_Absolute_Path = 1
" To deterring interruption:
" let GtagsCscope_Keep_Alive = 1
" If you hope auto loading:
" let GtagsCscope_Auto_Load = 1
" To use 'vim -t ', ':tag' and '<C-]>'
" set cscopetag
" To auto update tags when a file is saved
" let GtagsCscope_Auto_Update = 1

then run the following in Vim:
:source %
:PlugInstall

添加新评论