Ⅰ. 插件描述
draw a progress bar in the command lineⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/cream-progressbar'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/cream-progressbar'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/cream-progressbar'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cream-progressbar
Ⅳ. 文档说明
A function that, when called, draws a progress bar in the command line:
Loading file... [#################### ] 65%
Displays and allows options to:
1. Display the progress through RPM-like characters
2. Display an initial description string
3. Allows selection of the character used for the bar
4. Optionally, allows any bar length (default is window width)
Just use a call such as:
call ProgressBar( 65, "Loading file...", "#", 0 )
This is one of many custom utilities and functions for gVim from the Cream project (http://cream.sourceforge.net), a configuration of Vim for those of us familiar with Apple and Windows software.