[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VIM Behavior Modification

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

    :set paste
when you want to paste stuff, and 
    :set nopaste
when you are done and want the auto-formatting again.


Reply to: