tdvim_FoldDigest


Ⅰ. 插件描述

Creates an outline view from folds in the current buffer

Ⅱ. 基本信息

创建日期:  2010-09-16
使用用户:  1
Github星:  1
插件作者:  Pablo Gimenez

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This plugin creates a new buffer with an outline view of all folds in the current buffer.
It is based on vimscript #732.
Usage:

:FoldDigest

   Transform all folds in the current buffer into digest tree form, and
   show it in another buffer.  The buffer is called ==FOLDDIGEST==.  It shows
   not only all fold start positions, but also a tree depended on original
   folds hierarchy.

   In a FOLDDIGEST, you can move around the cursor, and when type <CR> jump
   to fold at under it.  If you enter FOLDDIGEST window from other windows,
   when depended buffer is availabeled, it will be synchronized
   automatically.  If you want to force synchronize, type "r" in a
   FOLDDIGEST buffer.
   It is also possible to jump to the folsd under the cursor with a double
   click.
   The FOLDDIGEST window is updated when entering in a new buffer.

   :FoldDigestToggle

   Toggles FOLDDIGEST window

   :FoldDigestClose

   close FOLDDIGEST window

   You can also map your own keys to these commands

添加新评论