LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't copy text from firefox to vi file (http://www.linuxquestions.org/questions/linux-software-2/cant-copy-text-from-firefox-to-vi-file-579911/)

toedoe 08-26-2007 06:34 AM

can't copy text from firefox to vi file
 
I notice highlighting text in a Firefox window will not copy to a vi file which is set to "input" and using the middle button. On the 10.2 the Firefox there permitted this. I have spent nearly 3 days grinding out the font problem (partial success) in Firefox. Is there a preference to set in pref.js or ussChrome.css that someone knows of that allows copying from 2.0.0.4/6??? Or is there another explanation?

dive 08-26-2007 06:58 AM

It could be the terminal or vim misbehaving.

What happens if you do ':set mouse=r' in vim?

bigrigdriver 08-26-2007 07:23 AM

I use a three step process that always works for me.

1) Highlight, then control-c (or Edit - Copy from the menu) to copy to the clipboard.

2) Click on klipper (the clipboard tool in Kde) and click on the item I just copied to select it.

2) Open the file in vim, switch to 'input' mode, put the cursor at the place I want to paste, and control-v (or Edit - Paste) to paste the copied material into the document.


All times are GMT -5. The time now is 01:28 PM.