I have a workflow where I edit a .org file using jceb/vim-orgmode which is located in my iCloud directory. I then have an app on my phone which also syncs and uses the same .org file. The problem is that iCloud will only sync the file when there are no open file handles referencing that file, so in order to sync I have to:
- edit
- :w
- :q
- wait for icloud to sync
- reopen the file
It would be great if there was a way for vim to only hold an open file for the duration of ":w", is this possible?
backupcopyoption setting – Christian Brabandt Sep 29 '20 at 06:12