-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
Description
Usually in vim, one can't open the same file twice because a swap file is present, and one gets a warning on the second open (ie. the "Another program may be editing the same file" warning). This is not foolproof, but it generally works.
However, this doesn't happen when editing files with vim-gnupg -- it's possible to open the same file multiple times. Makes sense, since the normal version is implemented using swap files, but perhaps there should be some other form of synchronisation.
Not a massive deal for my use case, since I can just add flocking externally, but I'm not sure if this is intentional or an oversight :-)