loremipsum : A dummy text generator
script karma |
Rating 61/34,
Downloaded by 3029 |
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
|
|
script versions (upload new version)
Click on the package to download.
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: 142.132.191.50
|