vim file lock

2009-02-21 Thread Alexander Schrijver
Hi, Vim doesn't seem to do file locking. What is the reason for this? I also noticed this on the/a todo list (from 2004): 8 Add file locking. Lock a file when starting to edit it with flock() or fcntl(). This patch has advisory file locking while reading/writing the file: ~/

Re: vim file lock

2009-02-21 Thread Alexander Schrijver
On Sat, Feb 21, 2009 at 12:46:40PM -0600, _sc_ wrote: > this won't protect your file from processes other than vim, but i > recommend and use the editexisting.vim plugin I'm sorry, I think I wasn't very clear. What I would like is that vim uses the locking mechanism of the operating system, and n