Tuesday, April 13, 2021

Dump vi/nvi help pages, was: Dump [Vim] help pages

On Tue, 13 Apr 2021 at 08:51, Christian Brabandt <cblists@256bit.org> wrote:
>
>
> On Mo, 12 Apr 2021, Julius Hamilton wrote:
>
> > Is there any way to output the content of the Vim help pages to a text file, with some sort of dump or output command?
>
> The help pages are text files, you don't need to dump them, you can
> :e $VIMRUNTIME/doc/options.txt
> to read the options help page.
>

I wonder if you all could be so kind and forgive my hijack attempt and
ask you if this is also possible with good ol' fashioned vi/nvi?

I would like to dump the output of :viu and :exu to to a file. I've
looked into these directories but I couldn't find anything:

$ find /usr/pkg/share/vi/
/usr/pkg/share/vi/
/usr/pkg/share/vi/tcl
/usr/pkg/share/vi/tcl/mailprocs.tcl
/usr/pkg/share/vi/tcl/gnats.tcl
/usr/pkg/share/vi/tcl/errors.tcl
/usr/pkg/share/vi/tcl/wc.tcl
/usr/pkg/share/vi/perl
/usr/pkg/share/vi/perl/tk.pl
/usr/pkg/share/vi/perl/wc.pl
/usr/pkg/share/vi/perl/make.pl
/usr/pkg/share/vi/perl/forall.pl
/usr/pkg/share/vi/catalog
/usr/pkg/share/vi/catalog/english
/usr/pkg/share/vi/catalog/dutch
/usr/pkg/share/vi/catalog/swedish
/usr/pkg/share/vi/catalog/ru_SU.KOI8-R
/usr/pkg/share/vi/catalog/spanish
/usr/pkg/share/vi/catalog/german
/usr/pkg/share/vi/catalog/french
/usr/pkg/share/vi/recover


--
Ottavio Caruso

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAEJNuHx2owjuokbyPi9LsKL1J5DUpPVHyCbgxAOQDoJWZpPy7w%40mail.gmail.com.

No comments:

Post a Comment