开发者

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

开发者 https://www.devze.com 2023-01-02 04:28 出处:网络
I can start Gvim and be positioned at a line gvim file1 +10 or I can start Gvim and have 2 files in tabs

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

精彩评论

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