Wikia

Vim Tips Wiki

Printing using kprinter

Talk0
1,610pages on
this wiki
Revision as of 02:40, July 20, 2009 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tip 313 Printable Monobook Previous Next

created August 14, 2002 · complexity basic · author tom regner · version 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.

Gnome users can replace kprinter with gtklp

CommentsEdit

Advertisement | Your ad here

Around Wikia's network

Random Wiki