On 01/15/2011 11:18 AM, ZyX wrote:
> On my system vim deletes the old file and moves new to its
> place (by the way, does someone know how to make vim modify
> existing file instead?).

I believe the option 'backupcopy' controls this.  From Vim's
help::

"""
'backupcopy' 'bkc'    string    (Vi default for Unix: "yes", otherwise:
"auto")
            global
            {not in Vi}
    When writing a file and a backup is made, this option tells how it's
    done.  This is a comma separated list of words.

    The main values are:
    "yes"    make a copy of the file and overwrite the original one
    "no"    rename the file and write a new one
    "auto"    one of the previous, what works best
"""

To check your value and see where it was set::

  :verbose set backupcopy?

Michael Henry

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to