Wednesday, February 17, 2021

Vim User Manual in txt, ps, and pdf - us letter.

This note describes how to create a pdf (and ps, and txt) version of the latest Vim documentation. I got sick of trying to find a useable and current pdf on the web, so I just figured out how to do it from source and am posting the howto for others who might come after.

This is current as of February 17, 2021.


mkdir -p ~/sandboxes/_others
cd ~/sandboxes/_others
git clone
mkdir ~/Desktop/vim-usr_doc
cd ~/Desktop/vim-usr_doc
cp ~/sandboxes/_others/vim/runtime/doc/usr* .
cat usr_toc.txt usr_??.txt > usr_doc.txt
vim usr_doc.txt -c "syntax off | hardcopy > | q"
open usr_doc.pdf

Simple, no?

Here is the text version (8.2):

Here is the postscript version (8.2):

Here is the pdf version (8.2):

No comments:

Post a Comment

All comments are moderated. Use discretion.