* dman ([EMAIL PROTECTED]) wrote: > On Mon, Sep 10, 2001 at 01:27:07PM -0700, Nick Jennings wrote: > | I am using vim and am having problems pasting content into a file while > | using vim. vim is "auto-indenting" based on the previous line, so the > | pasted text is quickly mauled and tabbed out more and more every line > | (for large chunks of text, this is completely unmanageable). > | > | However, when I am programming, I make use of this feature. How can > | I selectively turn this feature on and off? > > :help paste > > Use > :set paste > when you want to paste stuff, and > :set nopaste > when you are done and want the auto-formatting again.
Or set pastetoggle=<F4> or simlar so you can toggle it on and off. Tom. -- .^. .-------------------------------------------------------. /V\ | Tom Gilbert, London, England | http://linuxbrit.co.uk | /( )\ | Open Source/UNIX consultant | [EMAIL PROTECTED] | ^^-^^ `-------------------------------------------------------'