Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.0k views
Welcome To Ask or Share your Answers For Others

1 Answer

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

vim -o app/views/*.erb

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...