[oclug]VIM pasting oddities
Bart Trojanowski
bart-oclug at jukie.net
Thu Nov 14 12:43:30 EST 2002
* Jon Earle <je_linux at kronos.honk.org> [021114 12:38]:
> I'm sure this has been irritating others. When I paste into vim, I get
> all manner of fsckups happening to my pasted text. If I have an indented
> line, each successive line is additionally indented (ie: one indent will
> give two indents on the next line, three on the next and so on).
> Sometimes, the # at the start of a shebang line or a comment will be
> 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 nosi
:set noai
smart-indent (si) and auto-indent (ai) are nice but, yes, they are
annoying when pasting text that you don't want to be reformatted.
B.
--
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/ed903d34/attachment.bin
More information about the OCLUG
mailing list