sponsor Vim development Vim logo Vim Book Ad

repeater.vim : Repeat an item {n} times

 script karma  Rating 11/12, Downloaded by 428  Comments, bugs, improvements  Vim wiki

created by
Jon-Michael Deldin
 
script type
utility
 
description
Repeater.vim allows you to repeat items {n} times. For example, if you have a
section header in ReStructuredText and you need to insert an underbar of
equals signs that's the same length, you can simply move down a line and
invoke ``:Repeater =``. You can also specify a length, but the real utility of
this plugin is calculating the length for you.

Examples
========

1. Insert 78 equals signs:
    :Repeater = 78
2. Insert a ReST or Markdown section header for the current line:
    :Repeater -
3. Insert "THIS IS FILLER" 999 times:
    :Repeater THIS\ IS\ FILLER.\  999
 
install details
1. Download repeater.zip and unzip to ".vim" or "vimfiles"
        unzip -d ~/.vim repeater-1.0.0.zip
2. :helptags ~/.vim/doc
 

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
repeater-1.0.0.zip 1.0.0 2010-04-19 7.0 Jon-Michael Deldin Initial upload
ip used for rating: 3.142.35.75

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