[lug] vi/eclipse copy and paste indent issue

John Starkey jstarkey at breezedev.com
Thu Aug 27 11:42:21 MDT 2009


> You have autoindenting turned on.  The editor is automatically indenting 
> each line X spaces (whatever the line above has) and since you're 
> pasting a bunch of spaces on each subsequent line, it just keeps 
> indenting more and more.
>
> To turn it off, use
>
> :set noai
>
> It's really nice to have on during coding, so to turn it back on after 
> pasting, use
>
> :set ai
Thanks much. That did it.

-- 
-----------------
John Starkey
720-227-0516
I just know I'm a better manager when I have Joe DiMaggio in center field. --Casey Stengel
-----------------




More information about the LUG mailing list