Dec 16

Firefox Tip 1: Pasting Multiple Lines of Text

Have you ever wanted to copy multiple lines from a website, but had to copy them each individually? Fret no more. There is a setting in Firefox’s about:config that lets you define how many lines you will paste in Firefox after having selected text. This is useful when copying a URL that is displayed on more than one line.

editor.singleLine.pasteNewlines defaults to 1 line. You can double click the entry and change it to a number of your choosing. I find that setting it to 3 usually does the trick for me.

1) Enter about:config in the Location Bar to display the list of user preferences.
2) Find editor.singleLine.pasteNewlines and double click it.
3) Enter the number of lines you would like the paste function to concatenate in Firefox.

1 comment

Tags:

RSS If you enjoyed this post, then make sure you subscribe to my RSS Feed.

Related Posts:

  1. Bill Identicon Icon
    January 5th, 2007 at 12:51 am

    Incorrect. The value has to be 3. (I was under the same impression as you, but had mine set to 4 and wondered why it didn’t work.)

    Per http://www.mozilla.org/unix/customizing.html:
    // Newline paste behavior: 0=paste unchanged, 1=paste only
    // first line, 2=replace with spaces, 3=strip newlines
    //user_pref(”editor.singleLine.pasteNewlines”, 0);

Leave a Reply

© 2006-2007 Jason Schramm. Site design by Jason Schramm.
Jason Schramm is the man.