auto-ctags.vim


Ⅰ. 插件描述

Vim plugin to execute ctags command on file change

Ⅱ. 基本信息

创建日期:  2013-11-25
使用用户:  122
Github星:  62
插件作者:  soramugi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'soramugi/auto-ctags-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'soramugi/auto-ctags-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'soramugi/auto-ctags-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/soramugi/auto-ctags.vim

Ⅳ. 文档说明

# auto-ctags.vim

run the ctags command

Build Status

Usage

Use neobundle to install the plugin.

The postscript to ~/.vimrc the next.

NeoBundle 'soramugi/auto-ctags.vim'

or

$ mkdir -p ~/.vim/plugin
$ git clone https://github.com/soramugi/auto-ctags.vim.git ~/.vim/plugin/auto-ctags.vim.git

Setting

requires ctags utility. please install

On Debian

sudo apt-get install exuberant-ctags

On OSX

brew install ctags

Create tags

:Ctags

Create at a Writing the file, default 0

let g:auto_ctags = 1

Create the tags in directory, default .

And stored in a directory that matches the first

let g:auto_ctags_directory_list = ['.git', '.svn']

Create the tags name, default tags

let g:auto_ctags_tags_name = 'tags'

Create the ctags args, default --tag-relative --recurse --sort=yes

let g:auto_ctags_tags_args = ['--tag-relative=yes', '--recurse=yes', '--sort=yes']

Create the filetype tags --languages= option mode, default 0

let g:auto_ctags_filetype_mode = 1

Testing

Please install docker

sh run-test.sh

Policy

  • Created in the current directory by default
  • Create the version control directory in the configuration
  • Can be extended settings in the filetype
  • so that it can be used a minimum without any knowledge of tags

添加新评论