Re: vim, tabs, and copying text
On Thu, Apr 10, 2003 at 09:35:14PM +0200, Torquil Macdonald wrote:
> I have the following problem with vim inside an xterm:
> If I write a file with a TAB at the start of each line in VIM, and try to copy
> and paste it, with the mouse, into another VIM running in another xterm, I
> get one extra TAB for each line like this:
>
> lkk
> kh
> kjh
>
> becomes
>
> lkk
> kh
> kjh
>
> I also get this when copying from other programs into VIM. Any ideas?
In command mode type ":set paste" then switch to insert and paste away.
When done, ":set nopaste".
--
Jamin W. Collins
Reply to: