I want to print the b开发者_Go百科uffer, and I do it this way:
:%!lpr
Which works, but it erases the buffer and I have to restore it with undo u
. Is there a better way to print the buffer (or a range of lines in it)?
:%w !lpr
or, using builtin print command,
:hardcopy
精彩评论