How to start vim and open multiple files in tab mode with one command?
巴扎黑
巴扎黑 2017-05-16 16:40:57
0
1
564

After opening vi, you can use tabe to open multiple files.
I want to finish it in one sentence.

For example, vi a.c b.c c.c can open three tab pages at the same time.

巴扎黑
巴扎黑

reply all(1)
滿天的星座

Search help vi -h | grep tab得到-p[N] Open N tab pages (default: one for each file)
That’s vi -p4 1.txt 2.txt 3.txt 4.txt
That’s okay too vi -p 1.txt 2.txt 3.txt 4.txt

Personal test is feasible:)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!