ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cthulhu​Dolorem

by jmacpherson ST2

LoremIpsum plugin for Sublime Editor 2

Details

  • 2013.12.30.19.31.46
  • github.​com
  • 10 years ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 122
  • Win 51
  • Mac 47
  • Linux 24
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CthulhuDolorem

  • thank you to billymoon for the original LoremIpsum plugin of which this is just a modification

An extension for Sublime Text 2 and 3!

(Support for Sublime Text 3 is new, and barely tested - any feedback appreciated - see ST3 section below)

It allow you to Insert Cthulhu Dolorem in the editor via menu items or keyboard shortcut.

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

Just press the shortcut key (Alt+Command+l on OSX, Control+Alt+l on Windows and Shift+Alt+l on Linux) to add Cthulhu Dolorem text. Keep pressing to add more.

Alternatively, you can also specify the number of paragraphs, by writing a number, and pressing the shortcut key. Cthulhu Dolorem will check if there is a number directly preceding the selection range, and replace it with that many paragraphs of Cthulhu Dolorem. 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 cthulhu dolorem, of about 10 characters
  • Move down to a newline, and type 5.60 and then press the keyboard shortcut for Cthulhu Dolorem

Features

  1. Randomly generates text from selection of words
  2. Always starts with Cthulhu Dolorem for first paragraph, and capitalizes following paragraphs
  3. Leaves the inserted text un-selected, so you can insert some more straight away (rapid tapping to get as much cthulhu as you want)
  4. Shortcut key, Edit -> Text -> Cthulhu Dolorem... sub-menu, and context menu activation
  5. Variable size of text from just a tentacle to more than cthulhu can shake a stick at!
  6. NEW: Specify how many paragraphs and words per paragraph you want (type a number before pressing the Cthulhu Dolorem keyboard shortcut)
  7. Works with multiple selection ranges
  8. NEW: 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 2 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 CthulhuDolorem when the list appears.

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

Manual Install for ST3

  1. Open the sublime text command pallete, and Preferences: Browse Packages
  2. Checkout the ST3 branch of this repo in there
  3. Restart ST3

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.

Also, any contributions of further gibberish to add to the mix are appreciated.