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

Re: pasting into vi inserts many indents

on Tue, Nov 18, 2003 at 12:27:33PM -0800, Brian (b_rose@shaw.ca) wrote:
> Hi,
> Lately, if I open a file with vi from inside a gnome-terminal and then
> select a large chunk of text, (it doesn't matter where, e.g., Mozilla or
> the same vi session, both do it), it corrupts the formatting with many
> indents.  The pasted output inserts more indents on each line than there
> were on the previous line to create a "cascading formatting".  Can someone
> point me to how I can stop this?  I know I can fix past problems with
> cat file | tr -d '\t' , but how can I stop the bug in the first place?
> However, I can't get it to do it now for an example.

    :r ! cat


Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Moderator, Free Software Law Discussion mailing list:

Attachment: pgpvWPDyS1hXp.pgp
Description: PGP signature

Reply to: