vim-most-minimal-folds


Ⅰ. 插件描述

strips out all the noise from vim's fold line

Ⅱ. 基本信息

创建日期:  2014-11-24
使用用户:  1
Github星:  4
插件作者:  vim-utils

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'vim-utils/vim-most-minimal-folds'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'vim-utils/vim-most-minimal-folds'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'vim-utils/vim-most-minimal-folds'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-utils/vim-most-minimal-folds

Ⅳ. 文档说明

# most-minimal-folds.vim

Strips out all the noise from vim's fold line.

About

Vim's folds come with a lot of noise by default.

vim default folds

The second line on the screenshot above is vim's fold. Everything on that line,
except the text within the red box, was added by vim: the indentation, hyphens
and line count.

This plugin removes all the extras added by vim in the fold line. Only the
content of the first fold line is left (in the above example that's the text in
the red box).

Optionally, you can enable the line count with this option:

let g:most_minimal_folds_line_count = 1

Installation

  • Vundle<br/>
    Plugin 'bruno-/vim-most-minimal-folds'
  • Pathogen<br/>
    git clone git://github.com/bruno-/vim-most-minimal-folds.git ~/.vim/bundle/vim-most-minimal-folds

License

MIT

添加新评论