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

Re: vim, tabs, and copying text



Hi Torquil,

I thing disabling auto indentation on the target vim will solve your
problem:

:set noai
:set noci

Cheers,
Bruno.

On Thu, 2003-04-10 at 15:35, 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?
> 
> 	- Torquil
-- 
Bruno Diniz de Paula <diniz@cs.rutgers.edu>
Rutgers University

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: