Vim
Vim copied to clipboard
iCloud syncing
As requested here http://news.ycombinator.com/item?id=3487253
:+1:
Is this simply a matter of adding it to the entitlements and using URLForUbiquityContainerIdentifier:
? Or is there more to it?
I think I know what my next home project will be :D
So this is not as straight forward as making a successful call to URLForUbiquityContainerIdentifier:
...
Files in the ubiquity container can be read and written to but changes are not sync'ed. UIDocument
appears to perform a lot magic in regards to saving, NSFileCoordinator
must always be used to delete a document, netrw is unable to show a listing and NSMetadataQuery
needs to be used to produce a correct listing. Not to mention opening files in iCloud and dynamic renaming of files.
It may be possible to write a simple autocommand that saves the contents of a file using UIDocument
, but I think a lot of modification of netrw would be required for this feature to be useable.