alt-gtags.vim


Ⅰ. 插件描述

Alternative GNU GLOBAL integration plugin for Vim

Ⅱ. 基本信息

创建日期:  2013-08-27
使用用户:  11
Github星:  6
插件作者:  Hirofumi Wakasugi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '5t111111/alt-gtags-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '5t111111/alt-gtags-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '5t111111/alt-gtags-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

alt-gtags.vim

alt-gtags.vim is a plugin that enables you to use GNU GLOBAL (gtags) in a Vim.
if_pyth is required as it is written in Python.

Installation

When using NeoBundle, add this in your .vimrc.

NeoBundle '5t111111/alt-gtags.vim'

Usage

The tags are displayed in a QuickFix window by running the below commands.

  • AltGtags -f
    Display the list of the objects of the current buffer on QuickFix window.
  • AltGtags
    Display the definition of the object where the cursor is positioned.
  • AltGtags -r
    Display the reference of the object where the cursor is positioned.
  • AltGtags -s
    Display the reference of the symbol where the cursor is positioned.

添加新评论