0

I'm using MacVim with The NERD tree plugin and am opening my files by navigating to my project directory in terminal and typing mvim *. I'd like to load each of my project files into the buffer list so that I can conveniently navigate between buffers and I've tried :args *, but that only created a new file called *.rb. How can I add all of my project files to the buffer list?

romainl
  • 186,200
  • 21
  • 280
  • 313
dagarre
  • 684
  • 1
  • 11
  • 29

1 Answers1

1
:args **/*.rb

will load recursively every ruby file under the current directory in the arglist.

** is used for recursive search.

Note that the argument list is not exactly the same as the buffer list. See their respective doc entries.

romainl
  • 186,200
  • 21
  • 280
  • 313