[Top][All Lists]

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

Re: cutting and pasting from vim to vim expands tabs

From: ippi
Subject: Re: cutting and pasting from vim to vim expands tabs
Date: Mon, 31 May 2004 03:03:16 -0700 (PDT)

Hi Martin.

--- Martin Bays <address@hidden> wrote:
> If I understand your problem correctly, this is
> nothing to do with Vim.
> Try entering a literal tab at the shell (C-V Tab),
> then copying and
> pasting it with either screen or gpm. In both cases,
> at least when I try
> it, the tab is expanded to spaces.

Yup, I'm getting that exact behaviour here!
> I haven't source-dived, but my guess would be that
> both screen and gpm
> have a screen model consisting of a load of 1x1
> character cells, and so
> it "sees" a tab simply as a row of spaces. 

Yeah, I think you're probably on the right track.

> In the context of pasting to a Vim buffer though,
> you can always use the
> command ':retab!'.
> HTH,

Thanks Martin, that's helped a lot - ':retab!' should
sort me out just fine.


Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]