Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

vim -f +'syn on' +'run! syntax/2html.vim' +'wq' +'q' [file]

produces file.html

Or, use perl's Text::VimColor http://search.cpan.org/~rwstauner/Text-VimColor-0.14/lib/Tex...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: