Opening multiple files in vim using bash
One is browsing through the file system and wants to open all files in vim, which have a specific file extension. For example you want to open all JAVA files of the current directory and all of its subdirectories. Here is a simple bash-based solution using the find-command :
vim -p `find -name \*java -type f`
Written by Pascal
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#