Sujet : Re: Python (was Re: I did not inhale)
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 15. Sep 2024, 16:54:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240915084959.405@kylheku.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2024-09-14, Scott Lurndal <
scott@slp53.sl.home> wrote:
LDO: >> Vim is only good for text-editing, though.
>
Janis:> You have obviously no clue.
>
Janis is correct, you have no clue
>
$ man vim | grep -i binary
>
-b Binary mode. A few options will be set that makes it possible to edit a binary or executable file.
I use Vim for dynamically syntax-coloring code served by CGIT.
You heard right.
When CGIT presents code out of a repository, it calls a script
in order to convert it to colorized HTML. That script can be customized.
Mine uses expect to run Vim to load the file, set a few settings, and
invoke the :TOhtml command to dump HTML.
That is then post-proocessed to remove the inline style sheet. The web
page it gets embedded into has its own CSS rules for the Vim-generated
HTML tags.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca