On Sat, Oct 11, 2003, Bryan Cassidy wrote:
>All this talk about vim made me wonder something.. BTW, I love vim
>compared to vi. Don't know what it is yet but I felt very comfortable
>and confident using it. I was just wondering. Is there a way to print
>with a command "inside" vi? Sometimes I would just like to print the
>file and don't want to quit, save, and print it.

These two sequences will write and print the file

:!lpr %

INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``The whole aim of practical politics is to keep the populace alarmed (and
hence clamorous to be led to safety) by an endless series of hobgoblins.''
   -- H.L. Mencken, 1923
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to