On Wednesday 07 July 2004 04:44 pm, Bijan Soleymani wrote:
> [EMAIL PROTECTED] writes:

> Select the text in the browser (highlight it) and then switch to vi
> and middle click (of course have to be in insert mode). If your mouse
> doesn't have a middle button you might be able to click both buttons
> at the same time.

If you're using vim and you want to avoid problems with
        text winding up looking like
                this when you paste it into
                        your document, then the following handy dandy ~/.vimrc
                        addition really does the trick.

set pastetoggle=<F12>

To use it, put vim into insert mode, then hit F12 (or assign this to some 
other key as you desire) and it will paste the text without screwing up the 
way it's formatted.

-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to