foldlist


Ⅰ. 插件描述

Create a fold list to enable hierarchical file navigation.

Ⅱ. 基本信息

创建日期:  2002-11-28
使用用户:  1
Github星:  1
插件作者:  Paul Wei

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Overview

This is inspired by the taglist plugin.  The "Fold List" plugin
provides the following features:
                                                                  

  1. Opens a vertically split Vim window with a list of folds in
       the current file.
  2. Moving through the fold list with the j, k, l, h, moves to the
       associated fold in the file.
  3. <CR> jumps between file and fold list.

Usage

You can open the foldinst window from a source window by using the ":Flist"
command.
              nnoremap <silent> <F9> :Flist<CR>
                                                                            
Add the above mapping to your ~/.vimrc file.
                                                                            
You can close the taglist window from the taglist window by pressing 'q' or
using the Vim ":q" command.

添加新评论