Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
947 views
in Technique[技术] by (71.8m points)

vim - How to open and split multiple files

How can I open in a split window multiple files. One split for each file if I'm not being clear.

I want to do something like. :sp app/views/*.erb and have the ~7 files all open in their own split windows.

question from:https://stackoverflow.com/questions/1272258/how-to-open-and-split-multiple-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Not actually from within vim, but perhaps you can run vim like this:

vim -o app/views/*.erb

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...