On Sat, 22 Jul 2000, Gabe Turner wrote: > I've messed with this a lot, and it depends on your terminal emulation. At > work I have an RS/6000 on my desk and I can't get vim's colors to work in > anything but AIX's crappy aixterm. If you can't get syntax highlighting to > work in your term, try messing with your TERM variable and if that fails, > terminfo hacking is the last resort. I have to use PuTTY on windows. Maybe if I change it to VT102? > > > I also wish Vim was smarter about indents, like Emacs. > > add "set cindent" to your .vimrc. It's not just C indenting as the > name implies. It seems to work well in perl, shell, java and such as > well. Ah, but here's the kicker -- can i tab through the file like in Emacs and have the editor fix my indents on the fly? > Ah, you haven't discovered vim's nifty "gq" sequence. Read up on it a > bit. For example, I'm in vim and type an entire paragraph, yet vim > thinks it a single line. I go to the beginning of the line and hit > > gqG > > And it breaks my single line into multiple lines and left justifies > everything. Very nice... Ah, so intuitive! It sounds like Pico's "justify" command, which I love, and 'pine' for in Emacs. heh. heh. Of course, I'm sure Emacs can do it, but the key stroke is probably something like M-X-G make-this-paragraph-nice-and-pretty Luke --------------------------------------------------------------------- To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org For additional commands, e-mail: tclug-list-help at mn-linux.org