[NTLUG:Discuss] lpr tabstops
Kevin Brannen
kbrannen at gte.net
Wed Mar 1 14:16:06 CST 2000
Cameron wrote:
>
> i generally set my tabstop=4 in vi(m). is there a way to tell lpr or
> vi(m) to print tabs as 4 spaces instead of the default 8 spaces? btw, i
> print from vi(m) with ":w !lpr". TIA
> --
Tell vim to "expand tabs", then there are no tabstops. I generally have a mode-line at
the bottom of my files for this:
# vi: ts=4 sw=4 et :
You could also pipe it thru "expand -4" too.
Kevin
More information about the Discuss
mailing list