Ⅰ. 插件描述
Tag your file for better search requisite placeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/tagscan'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/tagscan'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/tagscan'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/tagscan
Ⅳ. 文档说明
[ This script is obsolete. Please use http://www.vim.org/scripts/script.php?script_id=2507 instead ]
If you've file with lines
header: creation of form with scroll
tags: create, gui
--- some info
--- some .sco links
--- some info
header: creation of speed buttons
tags: gui, create
--- some info
--- some info
// tags: todo, bug
void function_bug( bug_height )
{
}
You can type command
:ScanTags
and do fast find by tags lines you want
:Select command do add tag to list ( <CR> key )
:Deselect command remove last tag from list ( <BS> key )
any letter keys to quick move to tag ( s o r t - show only tags than consist "sort" as their part)
<Tab> key to move to next visible tag
Script written for easy search information in files (.sco files for example http://www.vim.org/scripts/script.php?script_id=1638 )