Loading ...
Sorry, an error occurred while loading the content.

18693Re: Five questions about VIM

Expand Messages
  • Jeff Turner
    Jun 3, 2001
    • 0 Attachment
      On Fri, Jun 01, 2001 at 05:39:54PM -0700, William Lee wrote:
      >
      >
      > Dave McCooey wrote:
      > >
      > > Hi,
      > >
      > > I started using vim recently, and there are five things that I
      > > cannot figure out how to do in vim, or whether they are even
      > > possible.
      > >
      > > (1) How can I change the colors used for syntax highlighting.
      > > For example, the blue used for C-style comments is way too dark on
      > > my system.
      >
      > I usually don't change the syntax highlighting. I do a
      >
      > :set bgcolor=dark

      It's "background" for me. Wow.. I've had it set wrong for so long.. it's almost
      blinding ;)

      To everyone: don't just assume it's correct! Type "set background?" to make
      sure.

      [..]
      > > (3) I would like the '%' command to work on angle brackets ("<" and ">")
      > >
      > > the way it works on other matched-pair characters. This is very
      > > useful in HTML files and other files with similar angle-bracket
      > > syntaxes. The previous vi-like editor I used did this, but vim
      > > does not (at least by default). Is there a way to enable this?
      >
      > I'm not quite sure about matching "<" and ">", but there's an
      > excellent package called matchit.vim. It can even match html tags and
      > other things. With it, you can even jump from the <table> to the
      > matching </table> tags. There maybe some other ways to do what you
      > want.

      Ah lovely.. this in combination with vim6.0 HTML indenting.. life is sweet ;)

      thanks,

      --Jeff

      [..]
      > --
      > William Lee (Will) | Sendmail Inc.
      > Email: wlee@... | http://www.sendmail.com
      > Tel: (510) 594-5505 |
    • Show all 7 messages in this topic