If i enter :r! cat $VIMRUNTIME/doc/*.txt
it'll print all the help docs to a buffer. But how to select just the docs from the ref manual? Maybe a sort of "slice", all docs between doc a and b, perhaps? On Fri, 23 Apr 2021 at 01:29, Tony Mechelynck <antoine.mechely...@gmail.com> wrote: > On Thu, Apr 22, 2021 at 10:47 AM Ailen Vienne Sebastian > <ailensebastia...@gmail.com> 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 vim_use+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vim_use/CAJkCKXvWj%3D1Sr61RfdVkKw2Aw7XXYqh%3D74KgEAeZVQmBwzKTSA%40mail.gmail.com > . > -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CA%2BCSdQH2NSseQ%3D_e7a6TgiM-bELOazf%3D6ED1Yt2dxaAVnJ16Yw%40mail.gmail.com.