Start gvim multiple tabs, cursor at specified line in each one

Posted by ktenney on Stack Overflow See other posts from Stack Overflow or by ktenney
Published on 2010-06-05T14:43:52Z Indexed on 2010/06/05 14:52 UTC
Read the original article Hit count: 148

Filed under:

Howdy,

I can start Gvim and be positioned at a line

gvim file1 +10

or I can start Gvim and have 2 files in tabs

gvim -p file1 file2

is there an invocation which does

gvim file1 +10 file2 +20

the above opens with file1 at line 20, file2 at line 1

I want file1 at 10, file2 at 20.

Thanks, Kent

© Stack Overflow or respective owner

Related posts about vim