Tip #313: printing using kprinter (unix + kde)
tip karma |
Rating 84/34, Viewed by 2333
|
Read and edit this tip on the
Vim tip wiki.
The wiki may have a more recent version of this tip.
created: |
|
August 14, 2002 3:47 |
|
complexity: |
|
basic |
author: |
|
tom regner |
|
as of Vim: |
|
6.0 |
just add
set printexpr=system('kprinter'\ .\ '\ '\ .\ v:fname_in)\ .\ delete(v:fname_in)\ +\ v:shell_error
to your ~/.vimrc; further on all your printing will be piped through the nice and consistent print-dialog of kde.
lg,
tomte
<< Copy, Cut, and Paste |
Insert and back... >>
Additional Notes
|