Re: Two-button mice and pasting in X
On Fri, 16 Nov 2001 20:28:44 -0600
Mike McNally <mmcnally3@prodigy.net> wrote:
> When I use the mouse to paste in X, say from one xterm to another,
> if there is a tab in the line it gets duplicated on ea successive
> line and is sort of a recursive thing like this:
>
> lets post
> this
> one
> two
> three
>
>
> ### comes out looking like this ###
>
>
> lets post
> this
> one
> two
> three
>
> exactly like that... I used the mouse to do it. How do I fix this
> so the cut and paste function doesn't goof up the tabs?
Are you pasting into a bash shell? I wouldn't think so. But, if you're
pasting into an xterm running vim, you're seeing autoindent in action.
:set paste
:set nopaste
--
Eric G. Miller <egm2@jps.net>
Reply to: