[lug] vi/eclipse copy and paste indent issue
Dave Treece
davet at frii.com
Thu Aug 27 19:58:08 MDT 2009
:set paste
John Starkey wrote:
> Occasionally when copy-n-pasting my code from eclipse into a vi window
> on a client's remote server I get strange indenting. The first line may
> be correct, but then there's about 50 spaces on the next one, then 100
> on the next one (relative to the first line) and 150, wash rinse and
> repeat for each line.
>
> I'd blame it on space vs tab in eclipse but that's far too extreme to be
> a 4 space vs tab issue. Has anyone run into this problem before and/or
> know what I might be able to do to fix it?
>
> TIA,
>
> John
>
>
More information about the LUG
mailing list