Skip to content

Instantly share code, notes, and snippets.

@ericwoodruff
Created August 25, 2013 19:31
Show Gist options
  • Save ericwoodruff/6335774 to your computer and use it in GitHub Desktop.
Save ericwoodruff/6335774 to your computer and use it in GitHub Desktop.
Open many files in vim tabs
function pipevi () {
xargs -d'\n' bash -c '</dev/tty vim -p "$0" "$@"'
}
find -name "*.xml" | pipevi
grep -rl lib | pipevi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment