开发者

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

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 f开发者_运维问答ile1 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


Are you looking for this ?

gvim -p file1 file2 -c 10 -c tabn -c 20 -c 1tabn
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜