Convert any file to html file using vim from command prompt :
vim -c ":runtime! syntax/2html.vim | :wq | :q " <FILENAME>
File Created: <FILENAME>.html
Example:
vim -c ":runtime! syntax/2html.vim | :wq | :q " a.c
will create a file "a.c.html"
Thursday, July 26, 2007
Subscribe to:
Posts (Atom)