Printing in Vim: Solved via Oualline's book

2001-07-14 Thread John P. Verel

One thing that Oualline's new Vim book solved for me (dummy me) is how to
print to a system printer from within vim:

:w ! lpr

Works like a charm, especially in visual mode.

Am I the only one who'd been stymied at how to print from within vim?

-- 
John P. Verel
Norwalk, CT



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread Todd A. Gibson

On Sat, Jul 14, 2001 at 07:44:20PM -0400, John P. Verel wrote:
 One thing that Oualline's new Vim book solved for me (dummy me) is how to
 print to a system printer from within vim:
 
 :w ! lpr
 
 Works like a charm, especially in visual mode.
 
 Am I the only one who'd been stymied at how to print from within vim?
 

I didn't know to do it that way.  I've always used the less
efficient:

:w
:!lpr %

-TAG



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread David Champion

On 2001.07.14, in [EMAIL PROTECTED],
John P. Verel [EMAIL PROTECTED] wrote:
 
 Am I the only one who'd been stymied at how to print from within vim?

Am I the only one who's never wanted to print from inside... hmm, which
is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]

I'm not sure that there's a difference in which standards are required
(extended, at least, and I think that's all), but perhaps one executes
faster than the other?

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread Brendan Cully

On Saturday, 14 July 2001 at 18:58, David Champion wrote:
 On 2001.07.14, in [EMAIL PROTECTED],
   John P. Verel [EMAIL PROTECTED] wrote:
  
  Am I the only one who'd been stymied at how to print from within vim?
 
 Am I the only one who's never wanted to print from inside... hmm, which
 is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]

I too have never wanted to print from inside either elviper or
nvis. From nviper on the other hand...



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread David Champion

On 2001.07.14, in [EMAIL PROTECTED],
Brendan Cully [EMAIL PROTECTED] wrote:
 On Saturday, 14 July 2001 at 18:58, David Champion wrote:
  On 2001.07.14, in [EMAIL PROTECTED],
  John P. Verel [EMAIL PROTECTED] wrote:
   
   Am I the only one who'd been stymied at how to print from within vim?
  
  Am I the only one who's never wanted to print from inside... hmm, which
  is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]
 
 I too have never wanted to print from inside either elviper or
 nvis. From nviper on the other hand...

Leave out one ? and the wolves are all over you :)

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago