What is the quickest way to indent a block of text with spaces for use within a web browser?

Posted by ændrük on Ask Ubuntu See other posts from Ask Ubuntu or by ændrük
Published on 2010-12-28T21:35:36Z Indexed on 2010/12/30 1:00 UTC
Read the original article Hit count: 565

Filed under:
|

I occasionally have the need to indent a block of text with spaces for use within a web browser, for example, when formatting a code block on this site or in a post on Launchpad.

So far I've just done it by hand by copying four spaces to the clipboard and then mashing keys really fast:

?, Home, Ctrl+V (repeat)

What is the quickest way to accomplish this?

  • Copying and pasting to another program? (Which?)
  • A Firefox or Chrome browser extension?
  • A command to directly modify the clipboard contents?
  • An auto-typing program?

© Ask Ubuntu or respective owner

Related posts about text

Related posts about code-blocks