--- mdevin <[EMAIL PROTECTED]> wrote: > When I use vim to edit a file, then copy and paste some text into > this > file, the text gets automatically indented more than it should. Take > the following example: > Edit an empty file with vim, then try an paste in the following text: > !## NETSCAPE > Netscape*drawingArea.translations: #replace \ > <Btn1Down>: ArmLink() \n\ > <Btn2Down>: ArmLink() \n\ > ~Shift<Btn1Up>: ActivateLink() \n\ > ~Shift<Btn2Up>: ActivateLink(new-window) \ > DisarmLink() \n\ > Shift<Btn1Up>: ActivateLink(save-only) \ > > And it ends up looking like: > !## NETSCAPE > Netscape*drawingArea.translations: #replace \ > <Btn1Down>: ArmLink() \n\ > <Btn2Down>: ArmLink() \n\ > ~Shift<Btn1Up>: ActivateLink() \n\ > ~Shift<Btn2Up>: > ActivateLink(new-window) \ > DisarmLink() \n\ > Shift<Btn1Up>: > ActivateLink(save-only) \ > > How do you stop this from happening? >
:set noautoindent patrick. - Mary had a little lamb. With mint. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/