sponsor Vim development Vim logo Vim Book Ad

cream-progressbar : draw a progress bar in the command line

 script karma  Rating 36/13, Downloaded by 1426  Comments, bugs, improvements  Vim wiki

created by
Steve Hall
 
script type
utility
 
description

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.

 
install details

Simply copy this file and paste it into your vimrc. Or you can drop the entire file into your plugins directory. Or you can place it into another vim file you intend on loading before calling it.

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cream-progressbar.vim 1.0 2002-07-07 6.0 Steve Hall Initial upload
ip used for rating: 18.222.67.251

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github