loremipsum


Ⅰ. 插件描述

A dummy text generator

Ⅱ. 基本信息

创建日期:  2008-07-10
使用用户:  152
Github星:  38
插件作者:  Tom Link

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/loremipsum'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/loremipsum'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/loremipsum'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/loremipsum

Ⅳ. 文档说明

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.

添加新评论