Skip to content

Instantly share code, notes, and snippets.

@sebgod
Created May 8, 2014 21:23
Show Gist options
  • Save sebgod/214922a6175663a65645 to your computer and use it in GitHub Desktop.
Save sebgod/214922a6175663a65645 to your computer and use it in GitHub Desktop.
Convert c files to HTML using Vim
for f in *.[ch]; do gvim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment