[oclug]VIM pasting oddities

Bart Trojanowski bart-oclug at jukie.net
Thu Nov 14 12:48:55 EST 2002


* Phil Tanguay <ptanguay at magma.ca> [021114 12:46]:
> On Thu, 14 Nov 2002, Jon Earle wrote:
> > replicated on each successive line as well.  Very annoying.  The old vi
> > didn't seem to do this (I'm glad I kept it installed).  Is there an
> > incantation to fix this?
> 
> :set paste
> 
> disables all the on-the-fly formatting that vim does.
> 
> :set nopaste to go back to normal mode (:set paste! to toggle, which is what
> I generally use)

something like...

:set pastetoggle=<F10>

...could also be useful.

-- 
				WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20021114/c5bf991b/attachment.bin


More information about the OCLUG mailing list