Mikkel L. Ellertson wrote: > I have seen a lot of editors and word processors > that use the write to a new file, and then rename/delete the > original file. It tends to protect your work - the original file is > there in case something goes wrong during the same process. That > way, the worst you lose is the current edits. This behaviour is configurable in Vim: type :help backup :help backupcopy :help writebackup to see the details. Use :set to see what's currently set. Options can be permanently set in ~/.vimrc. Hope this helps, James. -- E-mail: james@ | I learnt the rules of rugby. There is only one rule. aprilcottage.co.uk | "Skip it by any means necessary". | -- "Nix"