Ⅰ. 插件描述
Shows where is your cursor, including folds, classes, functions, and more.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/locator'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/locator'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/locator'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/locator
Ⅳ. 文档说明
Plugin that shows you full "path" to the cursor, including folds, classes, functions, and more.
There are already several plugins on http://www.vim.org that show you name of the
function that cursor is currently in, but I want to see full "path" to the
cursor, including folds, classes, and maybe comment sections.
Screenshots:
http://goo.gl/nFW8S (test C file with folds and functions)
http://goo.gl/GRMAB (test C file with comment sections, folds and functions)
http://goo.gl/9rVfJ (Java file with sections, functions and nested classes)
http://goo.gl/fTjpF (C file with folds, sections and functions)
http://goo.gl/lbgSh (C++ class declaration, i.e. header file)
http://goo.gl/G7O7U (C++ source file)
Read the docs in HTML format there: http://goo.gl/8EqCI
========================================================================
Autogenerated git repository: https://github.com/vim-scripts/locator (Note that this repository is auto-generated by http://vim-scripts.org as a mirror of http://www.vim.org)