On Mon, Sep 09, 2002 at 12:36:37PM +0200, Erik Simon wrote: > > I started playing with colors in Vim when editing mutt messages. > [and so on...] > Can anyone help? >
Well this is offlist, but I will try. > syntax off Shouldn't it be on? Vim is so good at mail syntax hl. > " Show whitespaces > set list <<<<<<<No Need for this. Vim's help shows this: :help list Same as :print, but display unprintable characters > " Show trailing spaces > set listchars=tab:»·,trail:· <<<<<<<< Why you use this? Vim's help shows this: :help listchars tab:xy Two characters to be used to show a Tab. The first char is used once. The second char is repeated to fill the space that the Tab normally occupies. "tab:>-" will show a Tab that takes four spaces as ">---". When omitted, a Tab is show as ^I. trail:c Character to show for trailing spaces. When omitted, trailing spaces are blank. These options are AFAIK meant for editing source codes where one needs to know what exactly goes in the buffer. > " Disable compatibility with old vi > set nocompatible Vim's help shows this: :help nocp <cut> This is a special kind of option, because when it's set or reset, other options are also changed as a side effect. CAREFUL: Setting or resetting this option can have a lot of unexpected effects: Mappings are interpreted in another way, undo behaves differently, etc. If you set this option in your vimrc file, you should probably put it at the very start. <cut> Hence put it at the top of your vimrc. -- Vikram Goyal <[EMAIL PROTECTED]>