sponsor Vim development Vim logo Vim Book Ad

loremipsum : A dummy text generator

 script karma  Rating 41/22, Downloaded by 1631    Comments, bugs, improvements  Vim wiki

created by
Tom Link
 
script type
utility
 
description
Insert a dummy text of a certain length. Actually, the text isn't
generated but selected from some text. By default, the following text is
used, which is included in the archive:
http://www.lorem-ipsum-dolor-sit-amet.com/lorem-ipsum-dolor-sit-amet.html

NOTE: The webpage didn't contain any copyright message but there is a
statement that one is allowed to paste the text into "your document".
I thus assume it's ok to include it in the archive. If not, please let me know.

Command:
:Loremipsum[!] [WORDCOUNT] [PARAGRAPH_TEMPLATE] [PREFIX POSTFIX]
    Insert some random text.

:Loreplace [REPLACEMENT] [PREFIX] [POSTFIX]
    Replace the random text with something else or simply remove it.
 
install details
Edit the vba file and type:

    :so %

See :help vimball for details. If you have difficulties or use vim 7.0,
please make sure, you have the current version of vimball
(vimscript #1502) installed or update your runtime.


Also available via git
http://github.com/tomtom/vimtlib/tree/master
 

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
loremipsum.vba.gz 0.2 2008-07-10 7.0 Tom Link - Loremipsum!: With !, insert inline (single paragraph)
- Loreplace: Replace loremipsum text with something else (provided a marker was defined for the current filetype)
- If the template argument is *, don't apply the default paragraph template.
- g:loremipsum_file, b:loremipsum_file
loremipsum.vba.gz 0.1 2008-07-10 7.0 Tom Link Initial upload
ip used for rating: 54.197.168.49

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.
   
SourceForge.net Logo