Skip to content

Latest commit

 

History

History
executable file
·
47 lines (29 loc) · 2.11 KB

README.markdown

File metadata and controls

executable file
·
47 lines (29 loc) · 2.11 KB

LoremIpsum

An extension for Sublime Text 2 and 3!

It allows you to Insert Lorem Ipsum in the editor via menu items or keyboard shortcut.

Select how much text you want from the menu item in Edit->Text->Lorem Ipsum or on the right click menu in Lorem Ipsum.

Just press the shortcut key (Alt+Shift+L) to add Lorem Ipsum text. Keep pressing to add more.

Alternatively, you can also specify the number of paragraphs, by writing a number, and pressing the shortcut key. Lorem Ipsum will check if there is a number directly preceding the selection range, and replace it with that many paragraphs of lorem ipsum. Addind a decimal point, defines the approximate number of words per paragraph.

Examples

Generate a dummy title for a blog, and a few paragraphs

  • Press the shortcut once, to generate a single line of lorem upsum, of about 15 words

Features

  1. Uses only words from the original Lorem ipsum text
  2. Randomly generates text from selection of words
  3. Often starts with Lorem ipsum
  4. Leaves the inserted text un-selected, so you can insert some more straight away (rapid tapping to get as much lorem as you want)
  5. Shortcut key, Edit -> Text -> Lorem Ipsum... sub-menu, and context menu activation
  6. Variable size of text from just a bit to more than you can shake a stick at!
  7. Works with multiple selection ranges
  8. Does not leave trailing spaces

Install

Package Control

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
  • Bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).
  • Select "Package Control: Install Package" (it'll take a few seconds)
  • Select LoremIpsum when the list appears.

Package Control will automatically keep Git up to date with the latest version.

Report bugs here, and I will do my best to repair them (or better still - make the fix, and send me a pull request).


If you have some problems or improvements with it, contact me via GitHub.