Skip to content

Instantly share code, notes, and snippets.

@dustin
Created June 24, 2009 06:36
Show Gist options
  • Select an option

  • Save dustin/135058 to your computer and use it in GitHub Desktop.

Select an option

Save dustin/135058 to your computer and use it in GitHub Desktop.
#!/bin/sh
for i in "$@"
do
vim -e \
-c "set nu" \
-c "set bg=dark" \
-c 'so $VIMRUNTIME/syntax/2html.vim' \
-c "w" \
-c "qa!" "$i"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment