On Thu, Apr 22, 2021 at 10:47 AM Ailen Vienne Sebastian
<[email protected]> wrote:
>
> I know I can print a help doc to a text file with :e! cat 
> $VIMRUNTIME/doc/filename.txt. But what about the entire reference manual? Not 
> the user manual, the reference manual. It seems to be composed of different 
> subfiles with different names. Is there any way to sweep through all the 
> files in the reference manual, in order, and print them to the same text 
> file? Thanks very much.

That would be a very heavy printout, and you would want a page break
between each pair of files.

To print the whole help (user manual _and_ reference manual), only not
the help for additional packages, you may want to start Vim with no
arguments, then set the proper print options (see ":help
print-options") and finally print them all to a file by means of

        :args $VIMRUNTIME/doc/*.txt
        :argdo hardcopy >~/vimhelp.txt
or similar

(omit ">~/vimhelp.txt" to print to an actual printer).

See
        :help :args
        :help :argdo
        :help print.txt

Best regards,
Tony.

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAJkCKXvWj%3D1Sr61RfdVkKw2Aw7XXYqh%3D74KgEAeZVQmBwzKTSA%40mail.gmail.com.

Reply via email to