On Fri, Jan 14, 2011 at 09:46:15AM EST, Reid Thompson wrote:
> On Fri, 2011-01-14 at 12:26 +0000, [email protected] wrote: 
> 
>       
>  Say I copy some text from a browser. Normally I hit ctrl+v to paste it. 
> Works but all of the text is indented like this:-
>   
>  Blah
>   Something
>     More text. 
>  
>         Blah-de-la-blah
>  
>  How to avoid this?
>   
>   
>   before pasting do
>   :set paste 

If you often paste multiline text, add this to your .virmrc:

:set pastetoggle=<F11>      " or other Fx

.. and hit F11 before pasting.

Make sure you hit it again immediately after pasting to avoid unwanted
‘paste mode’ side effects:

:h 'paste'

cj


-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to