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"
Subscribe to:
Post Comments (Atom)
1 comment:
you can use :TOhtml command directly
Post a Comment