unite-outline


Ⅰ. 插件描述

outline source for unite.vim

Ⅱ. 基本信息

创建日期:  2010-11-07
使用用户:  355
Github星:  131
插件作者:  h1mesuke

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'h1mesuke/unite-outline'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'h1mesuke/unite-outline'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'h1mesuke/unite-outline'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/h1mesuke/unite-outline

Ⅳ. 文档说明

# unite-outline

Introduction

unite-outline is a unite.vim's source
which provides your Vim's buffer with the outline view. It parses the current
buffer's content and extracts headings from the buffer. And then it shows the
list of the headings using unite.vim's interface. When you select a heading
from the list, you can jump to the corresponding location in the buffer.

The methods for extracting headings can be implemented for each individual

  1. You can customize them as you like with Vim script and can also
  2. new ones for unsupported filetypes.

Install

Install the distributed files into your Vim script directory which is usually
$HOME/.vim, or $HOME/vimfiles on Windows.

You can show the heading list of the current buffer with ":Unite outline"
command if you succeeded the installation (and unite-outline supports the
filetype of the buffer).

Usage

To show the heading list of the current buffer, execute |:Unite| command with
"outline" as a source parameter.

:Unite outline

unite-outline parses the current buffer's content and extracts headings from
the buffer. And then it shows the list of the headings with unite.vim's

  1. When you select a heading from the list, you can jump to the
  2. location of the buffer.

See :help unite-outline for more details.

Screenshots

See unite-outline's wiki.

添加新评论