> On Thu, Sep 07, 2000 at 08:36:10AM -0700, kmself@ix.netcom.com wrote: > > On Thu, Sep 07, 2000 at 09:30:43AM -0500, William Jensen > ([EMAIL PROTECTED]) wrote: > > > Hey guys, has anyone run into bad printing with vim? > > > > > > I spend a few hours editing some notes for class and when I lpt <file> > the > > > spacing was terrible. It's like more/less/lpr treat the tabs/spaces > in vim > > > totally different. I also tried printing from within vim with :%w > !lpr but > > > it had the same affect. How can I make vim print out exactly as it > looks > > > when I'm editing the file? Or, cringe, do I need to go to emacs? > > > > What's your 'ts' (tabstop) setting in vim? If it's anything but 8, > > you'll have a difference of opinion between it and most of the rest of > > the world. > > > > My tab stop is set to 3 (for coding). Indenting 8 spaces per tab in code > is just wasteful. Anything I can do to get around this? > I think you want to use "set sw=3 ts=8 ht=0" in your .exrc file. Then use ^t when you want to indent and ^d to back up an indent level (in insert mode).
jim > Bill > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/null >