> On Sep 10, 6:52 pm, "Greg Klein" <[email protected]> wrote: > > With :hardcopy I can select lines from a file and print just those > > lines. The printoptions (popt) option includes a parameter wrap:y/n > > described as: > > > > wrap:y (default) Wrap long lines. > > wrap:n Truncate long lines. > > > > So what is the definition of a "long line" in this context? > > I'm pretty sure it's a line that, with current font and print > margin settings, and with any extras like line numbers, will > not fit in the width of a single page. > > > Can I change > > the definition for :hardcopy purposes? I wish to prevent lines from > > wrapping (or truncating) in my printed output. > > I'm pretty sure you can't, but you can decrease the font > size, or manually wrap your lines where you want them, or > decrease your page margins, or turn of line numbers in the > printed output, or any other of things you'd do in any other > program to get a line not to wrap or be truncated when printed.
Ah. For example, I find that reducing the default font size in 'printfont' from Courier_New:h10 will do it for me. Such adjustments require trial-and-error to determine if lines fit. In vim todo.txt I found the following. Maybe this is to allow the user to define "long line"? Printing: ... - Add "page width" to wrap long lines. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
