[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?
> 
> BTW - I am not subscribed to debian-user due to the high traffic, so 
> please CC me in the response. Thanks.
> 
> -- 
>   Nick Jennings
 
:help autocmd
and 
:help paste

Get Vim 6, currently in beta stage. It has automatic indenting for all
sorts of languages via plugin scripts (previously only C was explicitly
supported).

Thanks to Wichert:

deb http://people.debian.org/~wakkerma/vim ./
deb-src http://people.debian.org/~wakkerma/vim ./

An apt-get upgrade will get you the newest beta.

-- 
Danie Roux *shuffle* Adore Unix



Reply to: