[vox-tech] serendipity with vim
Ken Bloom
vox-tech@lists.lugod.org
Fri, 2 Apr 2004 10:30:18 -0800
--HlL+5n6rz5pIUxbD
Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2004.04.02 10:16, Mark K. Kim wrote:
> Another Vim feature I use, which I think is just the awesomest thing
> I've never seen anybody else use, is the HTML conversion. You can
> open a file under gvim (but not vim), turn on the syntax
> highlighting, and generate an HTML version of the file with syntax
> highlights from the menu item [Syntax] -> [Convert to HTML]. It
> then splits the window with the HTML code, which you can save to a
> file. I've used this in all my presentations so I don't have to
> manually generate syntax-highlighted sourcode on slides. This works
> only under gvim, not vim, for some reason; it might be some GTK
> feature Vim needs to generate the HTML.
Should work in ordinary vim too. :TOhtml
It takes a little while to run though.
--=20
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about
signing the key. ***** My computer can't give you viruses by email. ***
--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAbbE6lHapveKyytERAtHfAJ9Hh7f4c6UH3chSQTz7q14/lOvG2ACdH6c3
Z0ZG41Jw+E+TpagzgFJh7Rw=
=tpQ5
-----END PGP SIGNATURE-----
--HlL+5n6rz5pIUxbD--