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
:sp app/views/*.erb
Had to whip up a function.
fun! OpenSplits(dir) for f in split(glob(a:dir), '\n') execute "sp " f endfor endfun