Re: vim, tabs, and copying text
On Thursday 10 April 2003 21: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?
Looks like a consequence of
:set autoindent
To solve your problem, read
:help pastetoggle
HTH, Michael
Reply to: