vim2html 1.45

vim2html is a Vim editor file-to-HTML exporting tool.
vim2html is a small shell program that will export any Vim-editable file into well-formed HTML - simulating a Vim session.

Fully supports Vim colorization (customizable) and Syntax Highlighting. This program provides an excellent method of presenting your programs/HTML/scripts/etc. on the web.


The defaults should work an most UN*X platforms with Vim-6.x installed.

If you have acquired the RPM just install it!
If you have acquired the tarball, see below.

In the event vim2html fails;

Open vim2html in your favorite editor (Vim I hope ;-) and set the user
options towards the top to match your environment - otherwise vim2html
will fail. See the section labeled; #### begin user settings ####

For best results, shake well, and copy the vim2html file into
/usr/local/bin, or a location set in your PATH. Be certain that vim2html
has file permissions of 755!


Usage: vim2html [OPTIONS]... file

Converts Vim files (with colors) to HTML - with optional tidying
(tidying requires HTMLtidy to be present). Output file will be
original filename (including path) with ".html" appended to it.

-t, --tidy Tidy up HTML/Apply CSS and XHTML (when possible)
-l, --list-schemes List available color schemes
-s, --color-scheme SCHEME Use specified color SCHEME
-n, --line-numbers Display line-numbers in output file
-f, --file-type FILETYPE Force Vim to use file type FILETYPE
-h, --help Print this message
-v, --version Print vim2html version information

What's New in This Release:

Improved internal variables
Improved error handling
Prevent Vim from creating swap files

last updated on:
April 2nd, 2005, 22:36 GMT
license type:
GPL (GNU General Public License) 
developed by:
Chip Cuccio
ROOT \ Text Editing&Processing \ Others
Download Button

In a hurry? Add it to your Download Basket!

user rating 15



Rate it!


Add your review!