View previous topic :: View next topic |
Author |
Message |
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Wed Apr 16, 2008 4:00 am Post subject: VIM TOhtml |
|
|
If you execute :TOhtml in VIM, it will give you some HTML code that will display your code in a format that attempts to replicate what your VIM looks like - background color, syntax highlighting, indention, line numbers, etc.
Pretty useful. |
|
Back to top |
|
|
olivier elmekki n00b
Joined: 29 Jan 2006 Posts: 55
|
Posted: Mon Apr 21, 2008 11:50 pm Post subject: |
|
|
wow, that's a trick, thanks a lot.
And with :let html_use_css = 1 and :let use_xhtml = 1, there's no more syntax plugin on webapps needed anymore. _________________ blog : http://kikhome.net
professional site (french) : http://olivier-elmekki.com |
|
Back to top |
|
|
Alanceil n00b
Joined: 14 Aug 2007 Posts: 36 Location: Regensburg, Germany
|
Posted: Wed Apr 23, 2008 8:40 pm Post subject: |
|
|
Whew. That is a really good find.
Thank you very much~ |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Wed Apr 23, 2008 11:11 pm Post subject: Re: VIM TOhtml |
|
|
Phenax wrote: | Pretty useful. | Indeed.
Folks who use this might also find the ansi2html filter useful:see this topic. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|