Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This might be more suited for apple.SE, but here is my question anyway.

When editing with MacVim a file that has a color label, the color label disappears when the file is saved. I have the feeling that this is because vim uses a temporary file (the buffer), and replaces the original file with the buffer... But please correct me if I'm wrong.

Is this normal? Is this a bug I should report?

share|improve this question
up vote 3 down vote accepted

Include set nowritebackup and set nobackup in your .vimrc/.gvimrc.

:help writebackup

'writebackup' 'wb'  boolean (default on with |+writebackup| feature, off
            {not in Vi}
    Make a backup before overwriting a file.  The backup is removed after
    the file was successfully written, unless the 'backup' option is
    also on.  Reset this option if your file system is almost full.  See
    |backup-table| for another explanation.
    When the 'backupskip' pattern matches, a backup is not made anyway.
    NOTE: This option is set to the default value when 'compatible' is
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .