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

Re: VIM features



On Mon, Jan 21, 2002 at 09:46:51PM +1100, Sam Couter wrote:
> Miquel van Smoorenburg <miquels@cistron.nl> wrote:
> > The only thing that annoys me endlessly is autoindent and filetype-plugin.
> > The first means that cut&paste simply never works in vim. It should
> > be off by default. The second means that vim is getting smart with
> > comments for example - again messing up cut cut&paste.
> 
> Possibly not helpful (or maybe redundant), but I have a line in my
> .vimrc that looks like:
> 
> map <F4> :set paste!<C-M>:set paste?<C-M>
> 
> So when I'm pasting text, I hit <F4> beforehand, and again afterwards.

Much better:
set pastetoggle=<F4>
Which also works in insert mode with paste=on.
           cu andreas



Reply to: