Vim logo vim online Vim Book Ad

basic Tip #313: printing using kprinter (unix + kde)

 tip karma   Rating 20/8, Viewed by 556 

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

 rate this tip  Life Changing Helpful Unfulfilling 

<<Copy, Cut, and Paste | Insert and back... >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo